Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow standards-based attributes to have leading and trailing underscores. | Aaron Ballman | 2019-08-15 | 1 | -0/+4 |
| | | | | | | This gives library implementers a way to use standards-based attributes that do not conflict with user-defined macros of the same name. Attributes in C2x require this behavior normatively (C2x 6.7.11p4), but there's no reason to not have the same behavior in C++, especially given that such attributes may be used by a C library consumed by a C++ compilation. llvm-svn: 369033 | ||||
* | Correct line endings that got mixed up in r320088; NFC. | Aaron Ballman | 2017-12-07 | 1 | -12/+12 |
| | | | | llvm-svn: 320115 | ||||
* | Add support for the __has_c_attribute builtin preprocessor macro. | Aaron Ballman | 2017-12-07 | 1 | -0/+12 |
This behaves similar to the __has_cpp_attribute builtin macro in that it allows users to detect whether an attribute is supported with the [[]] spelling syntax, which can be enabled in C with -fdouble-square-bracket-attributes. llvm-svn: 320088 |