aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaStmt.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-08-16 22:47:10 +0000
committerChad Rosier <mcrosier@apple.com>2012-08-16 22:47:10 +0000
commit2f648515c8bf964c87eb3b6ce37bb816d7d9b2bc (patch)
tree813cfd9b933b5f113de6199941ad654055928f2d /lib/Sema/SemaStmt.cpp
parent7e1fb9abfc8d67fe4e7203ef6830a893df704d7b (diff)
[ms-inline asm] Comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162055 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaStmt.cpp')
-rw-r--r--lib/Sema/SemaStmt.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Sema/SemaStmt.cpp b/lib/Sema/SemaStmt.cpp
index c093a9a098..9240dadb3e 100644
--- a/lib/Sema/SemaStmt.cpp
+++ b/lib/Sema/SemaStmt.cpp
@@ -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;