[cfe-commits] r111235 - /cfe/trunk/lib/Parse/ParseStmt.cpp

Chris Lattner sabre at nondot.org
Tue Aug 17 09:00:13 PDT 2010


Author: lattner
Date: Tue Aug 17 11:00:12 2010
New Revision: 111235

URL: http://llvm.org/viewvc/llvm-project?rev=111235&view=rev
Log:
Add a slightly better hack for microsoft style inline asm, 
patch by Per Linden!

Modified:
    cfe/trunk/lib/Parse/ParseStmt.cpp

Modified: cfe/trunk/lib/Parse/ParseStmt.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/ParseStmt.cpp?rev=111235&r1=111234&r2=111235&view=diff
==============================================================================
--- cfe/trunk/lib/Parse/ParseStmt.cpp (original)
+++ cfe/trunk/lib/Parse/ParseStmt.cpp Tue Aug 17 11:00:12 2010
@@ -1234,9 +1234,9 @@
   }
   Token t;
   t.setKind(tok::string_literal);
-  t.setLiteralData("\"FIXME: not done\"");
+  t.setLiteralData("\"/*FIXME: not done*/\"");
   t.clearFlag(Token::NeedsCleaning);
-  t.setLength(17);
+  t.setLength(21);
   OwningExprResult AsmString(Actions.ActOnStringLiteral(&t, 1));
   ExprVector Constraints(Actions);
   ExprVector Exprs(Actions);





More information about the cfe-commits mailing list