aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaStmt.cpp
diff options
context:
space:
mode:
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;