[all-commits] [llvm/llvm-project] 179d24: Parse: handle another case of invalid handling for...
Saleem Abdulrasool via All-commits
all-commits at lists.llvm.org
Thu Jan 5 12:54:18 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 179d24d764ac68220047a8771e1bb06a7cb2a0da
https://github.com/llvm/llvm-project/commit/179d24d764ac68220047a8771e1bb06a7cb2a0da
Author: Saleem Abdulrasool <compnerd at compnerd.org>
Date: 2023-01-05 (Thu, 05 Jan 2023)
Changed paths:
M clang/lib/Parse/ParseDeclCXX.cpp
M clang/test/Parser/cxx-attributes.cpp
Log Message:
-----------
Parse: handle another case of invalid handling for attributes
clang would improperly disallow GNU attributes before C++ standard
attributes when a declaration had a linkage specifier. Handle this
similarly to the previous case of invalid parsing. We now better match
the parsing rules from GCC.
Differential Revision: https://reviews.llvm.org/D140507
Reviewed By: aaron.ballman
More information about the All-commits
mailing list