aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/clang/AST/Attr.h18
1 files changed, 3 insertions, 15 deletions
diff --git a/include/clang/AST/Attr.h b/include/clang/AST/Attr.h
index 10999cb467..8792bb2e85 100644
--- a/include/clang/AST/Attr.h
+++ b/include/clang/AST/Attr.h
@@ -301,19 +301,6 @@ public:
static bool classof(const DestructorAttr *A) { return true; }
};
-class GNUInlineAttr : public Attr {
-public:
- GNUInlineAttr() : Attr(GNUInline) {}
-
- virtual Attr *clone(ASTContext &C) const;
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Attr *A) {
- return A->getKind() == GNUInline;
- }
- static bool classof(const GNUInlineAttr *A) { return true; }
-};
-
class IBOutletAttr : public Attr {
public:
IBOutletAttr() : Attr(IBOutletKind) {}
@@ -340,11 +327,12 @@ public:
static bool classof(const IBActionAttr *A) { return true; }
};
-DEF_SIMPLE_ATTR(Malloc);
-DEF_SIMPLE_ATTR(NoReturn);
DEF_SIMPLE_ATTR(AnalyzerNoReturn);
DEF_SIMPLE_ATTR(Deprecated);
DEF_SIMPLE_ATTR(Final);
+DEF_SIMPLE_ATTR(GNUInline);
+DEF_SIMPLE_ATTR(Malloc);
+DEF_SIMPLE_ATTR(NoReturn);
class SectionAttr : public AttrWithString {
public: