diff options
Diffstat (limited to 'clang/lib/AST/Stmt.cpp')
| -rw-r--r-- | clang/lib/AST/Stmt.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/clang/lib/AST/Stmt.cpp b/clang/lib/AST/Stmt.cpp index acd77beaca4..85e640701bf 100644 --- a/clang/lib/AST/Stmt.cpp +++ b/clang/lib/AST/Stmt.cpp @@ -470,8 +470,10 @@ CXXTryStmt::CXXTryStmt(SourceLocation tryLoc, Stmt *tryBlock, } IfStmt::IfStmt(ASTContext &C, SourceLocation IL, VarDecl *var, Expr *cond, - Stmt *then, SourceLocation EL, Stmt *elsev) - : Stmt(IfStmtClass), IfLoc(IL), ElseLoc(EL) + Stmt *then, SourceLocation EL, Stmt *elsev, + bool macroExpandedInThenStmt) + : Stmt(IfStmtClass), IfLoc(IL), ElseLoc(EL), + MacroExpandedInThenStmt(macroExpandedInThenStmt) { setConditionVariable(C, var); SubExprs[COND] = reinterpret_cast<Stmt*>(cond); |

