]> granicus.if.org Git - clang/commitdiff
[ms-inline asm] Add a few comments.
authorChad Rosier <mcrosier@apple.com>
Mon, 27 Aug 2012 21:14:01 +0000 (21:14 +0000)
committerChad Rosier <mcrosier@apple.com>
Mon, 27 Aug 2012 21:14:01 +0000 (21:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162699 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/Stmt.h

index 686bce9d25382e73b5caf2ca68508b8adfc425b3..1f58a978fd526744b12bd58ed26a53baa4018d96 100644 (file)
@@ -1368,7 +1368,12 @@ public:
 class AsmStmt : public Stmt {
 protected:
   SourceLocation AsmLoc;
+  /// \brief True if the assembly statement does not have any input or output
+  /// operands.
   bool IsSimple;
+
+  /// \brief If true, treat this inline assembly as having side effects.
+  /// This assembly statement should not be optimized, deleted or moved.
   bool IsVolatile;
 
   unsigned NumOutputs;