[GCC] PR23529 Sema part of attrbute abi_tag support
authorDmitry Polukhin <dmitry.polukhin@gmail.com>
Wed, 9 Mar 2016 15:30:53 +0000 (15:30 +0000)
committerDmitry Polukhin <dmitry.polukhin@gmail.com>
Wed, 9 Mar 2016 15:30:53 +0000 (15:30 +0000)
commitbf17ecf59a9bdfe00a5cb25fe59c9617f42ca79d
tree44597e0efabeed94536b07a10a501df275f6518b
parente50b23c67f320d42e1a83f1b428bd5b319d7cd35
[GCC] PR23529 Sema part of attrbute abi_tag support

Original patch by Stefan Bühler http://reviews.llvm.org/D12834

Difference between original and this one:
- fixed all comments in original code review
- added more tests, all new diagnostics now covered by tests
- moved abi_tag on re-declaration checks to Sema::mergeDeclAttributes
  where they actually may work as designed
- clang-format + other stylistic changes

Mangle part will be sent for review as a separate patch.

Differential Revision: http://reviews.llvm.org/D17567

llvm-svn: 263015
clang/docs/ItaniumMangleAbiTags.rst [new file with mode: 0644]
clang/include/clang/Basic/Attr.td
clang/include/clang/Basic/AttrDocs.td
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/include/clang/Sema/AttributeList.h
clang/lib/Sema/SemaDecl.cpp
clang/lib/Sema/SemaDeclAttr.cpp
clang/test/SemaCXX/attr-abi-tag-syntax.cpp [new file with mode: 0644]