Skip to content

Fix Clang private type alias parsing #609

@jeaye

Description

@jeaye

The LLVM issue for this is here: llvm/llvm-project#164885

Based on discussion with Vassil, the relevant code is here: https://github.com/llvm/llvm-project/blob/e04c01bcc91226d632f81bd3290c180deb0b6db8/clang/lib/Parse/ParseTentative.cpp#L18

This is a stack trace diff between clang-repl (left) and Clang (right) for when they get to the same access check: https://www.diffchecker.com/tQJVlTmv/

From this, Vassil infers that clang-repl is considering this as a statement and not a declaration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    category:clangClang usage for parsing, compiling, formatting, linking, etc.help wanted

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions