[cfe-commits] r92559 - /cfe/trunk/include/clang/AST/Stmt.h

Chris Lattner sabre at nondot.org
Mon Jan 4 17:23:25 PST 2010


Author: lattner
Date: Mon Jan  4 19:23:25 2010
New Revision: 92559

URL: http://llvm.org/viewvc/llvm-project?rev=92559&view=rev
Log:
fix a bug mike noticed.

Modified:
    cfe/trunk/include/clang/AST/Stmt.h

Modified: cfe/trunk/include/clang/AST/Stmt.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Stmt.h?rev=92559&r1=92558&r2=92559&view=diff

==============================================================================
--- cfe/trunk/include/clang/AST/Stmt.h (original)
+++ cfe/trunk/include/clang/AST/Stmt.h Mon Jan  4 19:23:25 2010
@@ -1144,7 +1144,7 @@
   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; }
 





More information about the cfe-commits mailing list