]> granicus.if.org Git - clang/commitdiff
fix a bug mike noticed.
authorChris Lattner <sabre@nondot.org>
Tue, 5 Jan 2010 01:23:25 +0000 (01:23 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 5 Jan 2010 01:23:25 +0000 (01:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92559 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/Stmt.h

index 614723234dbe0eea262c41f565f5731c354ed8c5..d058f838a00849b3f54f1411e53a53122792ca4d 100644 (file)
@@ -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; }