aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-05 01:23:25 +0000
committerChris Lattner <sabre@nondot.org>2010-01-05 01:23:25 +0000
commit6ffe643322949dd776285a6df60d3578f3918be4 (patch)
tree91e37f6723a4b26a869f0b1f5f35db4dfd077af7
parentd2eb1fdb1cfd37a6b93b46161826a23740d185e7 (diff)
fix a bug mike noticed.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92559 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/AST/Stmt.h2
1 files changed, 1 insertions, 1 deletions
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; }