Make ifConfigClause::isActive const

This commit is contained in:
David Ungar
2019-10-16 11:41:18 -07:00
parent 6e7db41a7c
commit 3adfbd9b91

View File

@@ -39,7 +39,7 @@ struct IfConfigClause {
ArrayRef<ASTNode> Elements;
/// True if this is the active clause of the #if block.
bool isActive;
const bool isActive;
IfConfigClause(SourceLoc Loc, Expr *Cond,
ArrayRef<ASTNode> Elements, bool isActive)