summaryrefslogtreecommitdiff
path: root/include/clang/AST/Attr.h
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2013-12-18 23:44:18 +0000
committerAaron Ballman <aaron@aaronballman.com>2013-12-18 23:44:18 +0000
commit6adb540cf817f23df9f232aaf4a96d1a6633fa4a (patch)
tree6be71f271aa19c04a26b6ae5bb6e84b6ef3ed8b1 /include/clang/AST/Attr.h
parent264ee6dc5ca465e36180fe0d12e01feb6f07c79e (diff)
downloadclang-6adb540cf817f23df9f232aaf4a96d1a6633fa4a.tar.gz
Refactor the Microsoft inheritance attribute handling so that it no longer has special treatment. Also fixes a minor bug where the attributes were being parsed as though they were GNU-style attributes when they were in fact keyword attributes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197629 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/AST/Attr.h')
-rw-r--r--include/clang/AST/Attr.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/clang/AST/Attr.h b/include/clang/AST/Attr.h
index 7dbf41350a..d5dc537baf 100644
--- a/include/clang/AST/Attr.h
+++ b/include/clang/AST/Attr.h
@@ -136,21 +136,6 @@ public:
}
};
-class MSInheritanceAttr : public InheritableAttr {
- virtual void anchor();
-protected:
- MSInheritanceAttr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex = 0)
- : InheritableAttr(AK, R, SpellingListIndex) {}
-
-public:
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Attr *A) {
- // Relies on relative order of enum emission with respect to param attrs.
- return (A->getKind() <= attr::LAST_MS_INHERITANCE &&
- A->getKind() > attr::LAST_INHERITABLE_PARAM);
- }
-};
-
#include "clang/AST/Attrs.inc"
} // end namespace clang