Keep track of whether the asm is volatile or not.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44297 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Sema/SemaStmt.cpp b/Sema/SemaStmt.cpp
index 00685c2..d99356e 100644
--- a/Sema/SemaStmt.cpp
+++ b/Sema/SemaStmt.cpp
@@ -645,6 +645,7 @@
 }
 
 Sema::StmtResult Sema::ActOnAsmStmt(SourceLocation AsmLoc,
+                                    bool IsVolatile,
                                     unsigned NumOutputs,
                                     unsigned NumInputs,
                                     std::string *Names,
@@ -655,7 +656,7 @@
                                     ExprTy **Clobbers,
                                     SourceLocation RParenLoc) {
   Expr *E = (Expr *)AsmString;
-
+ 
   // Check that the output exprs are valid lvalues.
   for (unsigned i = 0; i < NumOutputs; i++) {
     Expr *OutputExpr = (Expr *)Exprs[i];
@@ -691,6 +692,7 @@
   }
   
   return new AsmStmt(AsmLoc,
+                     IsVolatile,
                      NumOutputs,
                      NumInputs, 
                      Names,