[llvm-commits] [llvm] r73429 - /llvm/trunk/lib/AsmParser/LLParser.cpp
Dan Gohman
gohman at apple.com
Mon Jun 15 14:52:11 PDT 2009
Author: djg
Date: Mon Jun 15 16:52:11 2009
New Revision: 73429
URL: http://llvm.org/viewvc/llvm-project?rev=73429&view=rev
Log:
Fix a typo in a diagnostic.
Modified:
llvm/trunk/lib/AsmParser/LLParser.cpp
Modified: llvm/trunk/lib/AsmParser/LLParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/AsmParser/LLParser.cpp?rev=73429&r1=73428&r2=73429&view=diff
==============================================================================
--- llvm/trunk/lib/AsmParser/LLParser.cpp (original)
+++ llvm/trunk/lib/AsmParser/LLParser.cpp Mon Jun 15 16:52:11 2009
@@ -1743,7 +1743,7 @@
Lex.Lex();
if (ParseToken(lltok::lparen, "expected '(' after constantexpr cast") ||
ParseGlobalTypeAndValue(SrcVal) ||
- ParseToken(lltok::kw_to, "expected 'to' int constantexpr cast") ||
+ ParseToken(lltok::kw_to, "expected 'to' in constantexpr cast") ||
ParseType(DestTy) ||
ParseToken(lltok::rparen, "expected ')' at end of constantexpr cast"))
return true;
More information about the llvm-commits
mailing list