[all-commits] [llvm/llvm-project] 33a9ea: [Clang] Support multiple attributes in a single pr...
Egor Zhdan via All-commits
all-commits at lists.llvm.org
Fri Mar 18 05:20:55 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 33a9eac6aaa495fce6fd9b17cd48aa57a95461e6
https://github.com/llvm/llvm-project/commit/33a9eac6aaa495fce6fd9b17cd48aa57a95461e6
Author: Egor Zhdan <e_zhdan at apple.com>
Date: 2022-03-18 (Fri, 18 Mar 2022)
Changed paths:
M clang/docs/LanguageExtensions.rst
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/AttrSubjectMatchRules.h
M clang/include/clang/Basic/DiagnosticParseKinds.td
M clang/lib/Parse/ParseDecl.cpp
M clang/lib/Parse/ParsePragma.cpp
A clang/test/AST/pragma-multiple-attributes-declspec.cpp
A clang/test/AST/pragma-multiple-attributes.cpp
M clang/test/FixIt/fixit-pragma-attribute.c
M clang/test/FixIt/fixit-pragma-attribute.cpp
M clang/test/Parser/pragma-attribute-declspec.cpp
M clang/test/Parser/pragma-attribute.cpp
Log Message:
-----------
[Clang] Support multiple attributes in a single pragma
This adds support for multiple attributes in `#pragma clang attribute push`, for example:
```
```
or
```
```
Related attributes can now be applied with a single pragma, which makes it harder for developers to make an accidental error later when editing the code.
rdar://78269653
Differential Revision: https://reviews.llvm.org/D121283
More information about the All-commits
mailing list