summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDeclAttr.cpp
diff options
context:
space:
mode:
authorDmitry Polukhin <dmitry.polukhin@gmail.com>2016-06-30 09:40:38 +0000
committerDmitry Polukhin <dmitry.polukhin@gmail.com>2016-06-30 09:40:38 +0000
commit90bb49e362987cab2b666ecaa6a9ca56094e57ae (patch)
tree45fd95484c6f9e188a1437129be7ef9654fa70ea /clang/lib/Sema/SemaDeclAttr.cpp
parent0048964d840a8e334b4a98482875f9d59309a736 (diff)
downloadbcm5719-llvm-90bb49e362987cab2b666ecaa6a9ca56094e57ae.tar.gz
bcm5719-llvm-90bb49e362987cab2b666ecaa6a9ca56094e57ae.zip
[GCC] PR23529 Mangler 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 failing tests - fixed mangling for global variable outside namespace - emit ABI tags for guards and local names - clang-format + other stylistic changes - significantly reworked patch according to Richard's suggestions Sema part, committed before http://reviews.llvm.org/D17567 Differential revision: http://reviews.llvm.org/D18035 llvm-svn: 274222
Diffstat (limited to 'clang/lib/Sema/SemaDeclAttr.cpp')
-rw-r--r--clang/lib/Sema/SemaDeclAttr.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/Sema/SemaDeclAttr.cpp b/clang/lib/Sema/SemaDeclAttr.cpp
index ec8746b681c..4c36ab05d14 100644
--- a/clang/lib/Sema/SemaDeclAttr.cpp
+++ b/clang/lib/Sema/SemaDeclAttr.cpp
@@ -4713,10 +4713,6 @@ static void handleAbiTagAttr(Sema &S, Decl *D, const AttributeList &Attr) {
D->addAttr(::new (S.Context)
AbiTagAttr(Attr.getRange(), S.Context, Tags.data(), Tags.size(),
Attr.getAttributeSpellingListIndex()));
-
- // FIXME: remove this warning as soon as mangled part is ready.
- S.Diag(Attr.getRange().getBegin(), diag::warn_attribute_ignored)
- << Attr.getName();
}
static void handleARMInterruptAttr(Sema &S, Decl *D,
OpenPOWER on IntegriCloud