summaryrefslogtreecommitdiff
path: root/include/flang/AST/Decl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/flang/AST/Decl.h')
-rw-r--r--include/flang/AST/Decl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/flang/AST/Decl.h b/include/flang/AST/Decl.h
index 230968542a..9cd5442a82 100644
--- a/include/flang/AST/Decl.h
+++ b/include/flang/AST/Decl.h
@@ -598,7 +598,7 @@ public:
return IsSequence;
}
- bool setIsSequence(bool V) { IsSequence = V; }
+ void setIsSequence(bool V) { IsSequence = V; }
static bool classof(const Decl *D) { return classofKind(D->getKind()); }
static bool classof(const RecordDecl *D) { return true; }
@@ -741,7 +741,7 @@ private:
int Attr)
: DeclaratorDecl(DK, DC, NameInfo.getLoc(), NameInfo.getName(), T),
DeclContext(DK), ArgumentCount(0), Arguments(nullptr),
- Body((Stmt*)nullptr), Result(nullptr) {
+ Result(nullptr), Body((Stmt*)nullptr) {
CustomBoolAttr1 = (Attr & Recursive) != 0;
SubDeclKind = FK;
}