summaryrefslogtreecommitdiffstats
path: root/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
commitd35cc359e1572d9bdd8ea3ca83da79722c034b79 (patch)
tree5c6ab6b082a53e47bc57319e3e3308b477cd7630 /lib/Basic/Attributes.cpp
parentded4d5630b205691bd73dac05ebd4f1ce1acc522 (diff)
Reverting r204952, while I figure out what's going on with the makefile build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204955 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/Attributes.cpp')
-rw-r--r--lib/Basic/Attributes.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/Basic/Attributes.cpp b/lib/Basic/Attributes.cpp
deleted file mode 100644
index 555c8f8789..0000000000
--- a/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