]> granicus.if.org Git - clang/commitdiff
[ms-inline asm] Comment.
authorChad Rosier <mcrosier@apple.com>
Thu, 16 Aug 2012 22:47:10 +0000 (22:47 +0000)
committerChad Rosier <mcrosier@apple.com>
Thu, 16 Aug 2012 22:47:10 +0000 (22:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162055 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaStmt.cpp

index c093a9a098fe3db9ec3a760d449ba484167d2368..9240dadb3e1837ba78d3f0a974e22c223dfb5a67 100644 (file)
@@ -2792,7 +2792,8 @@ static void patchMSAsmStrings(Sema &SemaRef, bool &IsSimple,
                               std::vector<std::string> &AsmStrings) {
   assert (!AsmToks.empty() && "Didn't expect an empty AsmToks!");
 
-  // Assume simple asm stmt until we parse a non-register identifer.
+  // Assume simple asm stmt until we parse a non-register identifer (or we just
+  // need to bail gracefully).
   IsSimple = true;
 
   SmallString<512> Asm;