Fix a typo in a diagnostic.
authorDan Gohman <gohman@apple.com>
Mon, 15 Jun 2009 21:52:11 +0000 (21:52 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 15 Jun 2009 21:52:11 +0000 (21:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73429 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AsmParser/LLParser.cpp

index 8a39f79874d47060de804e0d3054540be858fb7a..e26e0452397eca0c1061f8394022b0d47e58cf67 100644 (file)
@@ -1743,7 +1743,7 @@ bool LLParser::ParseValID(ValID &ID) {
     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;