From 12b95e523c193bac4bdde0b23f2a9777ca956145 Mon Sep 17 00:00:00 2001 From: Chad Rosier Date: Mon, 27 Aug 2012 21:14:01 +0000 Subject: [PATCH] [ms-inline asm] Add a few comments. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162699 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/Stmt.h | 5 +++++ 1 file changed, 5 insertions(+) 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; -- 2.40.0