diff options
author | Alex Lorenz <arphaman@gmail.com> | 2017-04-18 10:46:41 +0000 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2017-04-18 10:46:41 +0000 |
commit | 7844d0af188cb376ec177cb1fb4bcb24272dc32b (patch) | |
tree | c6c244c42a2d72b62f4085cb2d7e1bc5ddcb48d4 /lib/Basic/Attributes.cpp | |
parent | df381a38cfc0018e459897639364fcfe7adf7d11 (diff) |
Revert r300539 - Add #pragma clang attribute
Some tests fail on the Windows buildbots. I will have to investigate more.
This commit reverts r300539, r300540 and r300542.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@300543 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/Attributes.cpp')
-rw-r--r-- | lib/Basic/Attributes.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/Basic/Attributes.cpp b/lib/Basic/Attributes.cpp index b7570d03c8..c215366fc3 100644 --- a/lib/Basic/Attributes.cpp +++ b/lib/Basic/Attributes.cpp @@ -1,5 +1,4 @@ #include "clang/Basic/Attributes.h" -#include "clang/Basic/AttrSubjectMatchRules.h" #include "clang/Basic/IdentifierTable.h" #include "llvm/ADT/StringSwitch.h" using namespace clang; @@ -16,13 +15,3 @@ int clang::hasAttribute(AttrSyntax Syntax, const IdentifierInfo *Scope, return 0; } - -const char *attr::getSubjectMatchRuleSpelling(attr::SubjectMatchRule Rule) { - switch (Rule) { -#define ATTR_MATCH_RULE(NAME, SPELLING, IsAbstract) \ - case attr::NAME: \ - return SPELLING; -#include "clang/Basic/AttrSubMatchRulesList.inc" - } - llvm_unreachable("Invalid subject match rule"); -} |