summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2008-08-08 22:25:06 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2008-08-08 22:25:06 +0000
commit69bc5ba67ac393de9515fbe30d7e8a4ef2664770 (patch)
treed5da1945ed4c37c29825b3c59d0c5a7ed3502f0e
parent5225cd66cf3ad9b3f914b8e6cba1268ab5def5f4 (diff)
downloadbcm5719-llvm-69bc5ba67ac393de9515fbe30d7e8a4ef2664770.tar.gz
bcm5719-llvm-69bc5ba67ac393de9515fbe30d7e8a4ef2664770.zip
Make RecordDecl::Destroy() public.
llvm-svn: 54561
-rw-r--r--clang/include/clang/AST/Decl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/include/clang/AST/Decl.h b/clang/include/clang/AST/Decl.h
index 1ab8a59611c..973c6a76a9d 100644
--- a/clang/include/clang/AST/Decl.h
+++ b/clang/include/clang/AST/Decl.h
@@ -810,13 +810,13 @@ protected:
}
virtual ~RecordDecl();
- virtual void Destroy(ASTContext& C);
public:
-
static RecordDecl *Create(ASTContext &C, TagKind TK, DeclContext *DC,
SourceLocation L, IdentifierInfo *Id,
ScopedDecl *PrevDecl);
+
+ virtual void Destroy(ASTContext& C);
bool hasFlexibleArrayMember() const { return HasFlexibleArrayMember; }
void setHasFlexibleArrayMember(bool V) { HasFlexibleArrayMember = V; }
OpenPOWER on IntegriCloud