[cfe-commits] r162051 - /cfe/trunk/lib/Sema/SemaStmt.cpp
Chad Rosier
mcrosier at apple.com
Thu Aug 16 15:30:03 PDT 2012
Author: mcrosier
Date: Thu Aug 16 17:30:02 2012
New Revision: 162051
URL: http://llvm.org/viewvc/llvm-project?rev=162051&view=rev
Log:
[ms-inline asm] If we don't know how to handle a token then assume this is not a
simple asm.
Modified:
cfe/trunk/lib/Sema/SemaStmt.cpp
Modified: cfe/trunk/lib/Sema/SemaStmt.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaStmt.cpp?rev=162051&r1=162050&r2=162051&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaStmt.cpp (original)
+++ cfe/trunk/lib/Sema/SemaStmt.cpp Thu Aug 16 17:30:02 2012
@@ -2823,7 +2823,7 @@
// 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;
More information about the cfe-commits
mailing list