]> granicus.if.org Git - clang/commit
Support accepting __gnu__ as a scoped attribute namespace that aliases to gnu.
authorAaron Ballman <aaron@aaronballman.com>
Wed, 24 Oct 2018 12:26:23 +0000 (12:26 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Wed, 24 Oct 2018 12:26:23 +0000 (12:26 +0000)
commit589b42244bedcf5d2803feea65e02245fc1de341
tree7a1abca0efd9fdee4f5efa49c291ede9ce1841e7
parentb06c0831376fdaa2ddce2110d57e7d5369db5bb8
Support accepting __gnu__ as a scoped attribute namespace that aliases to gnu.

This is useful in libstdc++ to avoid clashes with identifiers in the user's namespace.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@345132 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/ParsedAttr.h
lib/Basic/Attributes.cpp
lib/Parse/ParseDeclCXX.cpp
lib/Sema/ParsedAttr.cpp
lib/Sema/SemaDeclAttr.cpp
lib/Sema/SemaType.cpp
test/Preprocessor/has_attribute.cpp
test/SemaCXX/attr-gnu.cpp
utils/TableGen/ClangAttrEmitter.cpp