HomePhabricator

[GCC] PR23529 Sema part of attrbute abi_tag support

Authored by DmitryPolukhin on Mar 9 2016, 7:30 AM.

Description

[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