[all-commits] [llvm/llvm-project] ba2e4f: [clang] Fix CXXNewExpr end source location for 'ne...
Arseniy Zaostrovnykh via All-commits
all-commits at lists.llvm.org
Thu May 16 03:15:15 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ba2e4fe4e7f79e49fcac54ea20f5b899dc687cfc
https://github.com/llvm/llvm-project/commit/ba2e4fe4e7f79e49fcac54ea20f5b899dc687cfc
Author: Arseniy Zaostrovnykh <necto.ne at gmail.com>
Date: 2024-05-16 (Thu, 16 May 2024)
Changed paths:
M clang-tools-extra/test/clang-tidy/checkers/modernize/make-unique.cpp
M clang/lib/Parse/ParseDeclCXX.cpp
M clang/test/AST/ast-dump-expr.cpp
Log Message:
-----------
[clang] Fix CXXNewExpr end source location for 'new struct S' (#92266)
Currently, `new struct S` fails to set any valid end source location
because the token corresponding to `S` is consumed in
`ParseClassSpecifier` and is not accessible in the
`ParseDeclarationSpecifiers` that normally sets the end source location.
Fixes #35300
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