summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/Attributes.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2014-03-27 20:36:32 +0000
committerAaron Ballman <aaron@aaronballman.com>2014-03-27 20:36:32 +0000
commit0702d02b319405f4d70a381034e21c9c62a0cbc3 (patch)
treeba1611e4987927b340c276d0539a71ffd193ba68 /clang/lib/Basic/Attributes.cpp
parent5604a27788aa8d0e255284dc1cab78b7eebce823 (diff)
downloadbcm5719-llvm-0702d02b319405f4d70a381034e21c9c62a0cbc3.tar.gz
bcm5719-llvm-0702d02b319405f4d70a381034e21c9c62a0cbc3.zip
Reverting r204952, while I figure out what's going on with the makefile build.
llvm-svn: 204955
Diffstat (limited to 'clang/lib/Basic/Attributes.cpp')
-rw-r--r--clang/lib/Basic/Attributes.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/clang/lib/Basic/Attributes.cpp b/clang/lib/Basic/Attributes.cpp
deleted file mode 100644
index 555c8f8789b..00000000000
--- a/clang/lib/Basic/Attributes.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
-#include "clang/Basic/Attributes.h"
-#include "clang/Basic/IdentifierTable.h"
-#include "llvm/ADT/StringSwitch.h"
-
-namespace clang {
-
-bool HasAttribute(AttrSyntax Syntax, const IdentifierInfo *Scope,
- const IdentifierInfo *Attr, const llvm::Triple &T,
- const LangOptions &LangOpts) {
- StringRef Name = Attr->getName();
- // Normalize the attribute name, __foo__ becomes foo.
- if (Name.size() >= 4 && Name.startswith("__") && Name.endswith("__"))
- Name = Name.substr(2, Name.size() - 4);
-
-#include "clang/Basic/AttrHasAttributeImpl.inc"
-
- return false;
-}
-
-} // end namespace clang
OpenPOWER on IntegriCloud