diff options
author | Alex <hypothermia.frost@gmail.com> | 2013-09-30 14:56:54 +0100 |
---|---|---|
committer | Alex <hypothermia.frost@gmail.com> | 2013-09-30 14:56:54 +0100 |
commit | e0578d4bc2480bee7df0772b62d42eadc8120873 (patch) | |
tree | c51b29015a00fcdbadd98ee32d2467f49573f0f0 | |
parent | b7d9aab80c1c2412579b05a5803dd534e6d36b85 (diff) | |
download | flang-e0578d4bc2480bee7df0772b62d42eadc8120873.tar.gz |
fixed RecordDecl constructor.
-rw-r--r-- | include/flang/AST/Decl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/flang/AST/Decl.h b/include/flang/AST/Decl.h index 092938fcda..a3248e3dc4 100644 --- a/include/flang/AST/Decl.h +++ b/include/flang/AST/Decl.h @@ -536,7 +536,7 @@ class RecordDecl : public TypeDecl, public DeclContext { protected: RecordDecl(Kind DK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, const IdentifierInfo *Id, RecordDecl *PrevDecl) - : TypeDecl(DK, DC, IdLoc, Id), DeclContext(Record) { + : TypeDecl(DK, DC, IdLoc, Id), DeclContext(DK) { IsDefinition = false; IsBeingDefined = false; IsSequence = false; |