[all-commits] [llvm/llvm-project] a4506b: [Clang] Recurse into parsing when using pack-index...
Younan Zhang via All-commits
all-commits at lists.llvm.org
Sun Dec 8 17:58:58 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a4506bb340c36d48d89afe5bd76a1a2f28f76fd9
https://github.com/llvm/llvm-project/commit/a4506bb340c36d48d89afe5bd76a1a2f28f76fd9
Author: Younan Zhang <zyn7109 at gmail.com>
Date: 2024-12-09 (Mon, 09 Dec 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Parse/ParseExpr.cpp
M clang/test/Parser/cxx2c-pack-indexing.cpp
Log Message:
-----------
[Clang] Recurse into parsing when using pack-indexing as a specifier (#119123)
Pack indexing type that introduces a scope, e.g. `T...[0]::value` would
be annotated as `annot_cxxscope`. This is something we didn't handle in
`ParseCastExpression`, causing it to mistakely fall through to the logic
for `raw_identifier`.
We should recurse into parsing the following specifiers for such cases.
Closes #119072
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list