diff --git a/include/clang/AST/Stmt.h b/include/clang/AST/Stmt.h index 614723234d..d058f838a0 100644 --- a/include/clang/AST/Stmt.h +++ b/include/clang/AST/Stmt.h @@ -1144,7 +1144,7 @@ public: bool isVolatile() const { return IsVolatile; } void setVolatile(bool V) { IsVolatile = V; } bool isSimple() const { return IsSimple; } - void setSimple(bool V) { IsSimple = false; } + void setSimple(bool V) { IsSimple = V; } bool isMSAsm() const { return MSAsm; } void setMSAsm(bool V) { MSAsm = V; }