aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaStmt.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-08-16 22:30:02 +0000
committerChad Rosier <mcrosier@apple.com>2012-08-16 22:30:02 +0000
commiteeff8ce11d687429d545cb6ce9bdaa44319ca72f (patch)
treed080216281dd8e1714d163f48e496cbd664c7717 /lib/Sema/SemaStmt.cpp
parent700ce64db453624d2a3f2d34d25207c97b2b064f (diff)
[ms-inline asm] If we don't know how to handle a token then assume this is not a
simple asm. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162051 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaStmt.cpp')
-rw-r--r--lib/Sema/SemaStmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaStmt.cpp b/lib/Sema/SemaStmt.cpp
index 5493e343c6..4954a4c428 100644
--- a/lib/Sema/SemaStmt.cpp
+++ b/lib/Sema/SemaStmt.cpp
@@ -2823,7 +2823,7 @@ static void patchMSAsmStrings(Sema &SemaRef, bool &IsSimple,
// Check the operand(s).
switch (AsmToks[i].getKind()) {
default:
- //llvm_unreachable("Unknown token.");
+ IsSimple = false;
break;
case tok::comma: Asm += ","; break;
case tok::colon: Asm += ":"; break;