diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-08-27 21:14:01 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-08-27 21:14:01 +0000 |
commit | 12b95e523c193bac4bdde0b23f2a9777ca956145 (patch) | |
tree | 7ae5be1284f34d203b2042df3a7e476a1d9916c6 | |
parent | 19c0134d465a1d9a1edc45ebac51652d8636c68e (diff) |
[ms-inline asm] Add a few comments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162699 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/AST/Stmt.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/clang/AST/Stmt.h b/include/clang/AST/Stmt.h index 686bce9d25..1f58a978fd 100644 --- a/include/clang/AST/Stmt.h +++ b/include/clang/AST/Stmt.h @@ -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; |