diff options
Diffstat (limited to 'include/flang/AST/Decl.h')
-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; |