[PATCH] D12834: add gcc abi_tag support

Stefan Bühler via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 15 02:49:05 PST 2016


stbuehler updated this revision to Diff 44973.
stbuehler added a comment.

integrate patch by Stephan Bergmann <sbergman at redhat.com>:

- Fix handling of abi_tag attribute on namespaces to match GCC behavior:
  - Forbid the attribute on unnamed namespaces.  (GCC merely produces a warning instead of an error for unnamed or non-inline namespaces, though.)
  - When no tags are given for a (named, inline) namespace, use the namespace's name as tag.


Repository:
  rL LLVM

http://reviews.llvm.org/D12834

Files:
  docs/ItaniumMangleAbiTags.rst
  include/clang/Basic/Attr.td
  include/clang/Basic/DiagnosticSemaKinds.td
  include/clang/Sema/AttributeList.h
  lib/AST/ItaniumMangle.cpp
  lib/Sema/SemaDeclAttr.cpp
  test/SemaCXX/attr-abi-tag-syntax.cpp
  test/SemaCXX/attr-abi-tag.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12834.44973.patch
Type: text/x-patch
Size: 46711 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160115/13cf06e8/attachment-0001.bin>


More information about the cfe-commits mailing list