[llvm] r258357 - Fix typo in an error string. NFC.

George Burgess IV via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 20 14:15:23 PST 2016


Author: gbiv
Date: Wed Jan 20 16:15:23 2016
New Revision: 258357

URL: http://llvm.org/viewvc/llvm-project?rev=258357&view=rev
Log:
Fix typo in an error string. NFC.


Modified:
    llvm/trunk/lib/Bitcode/Reader/BitcodeReader.cpp

Modified: llvm/trunk/lib/Bitcode/Reader/BitcodeReader.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Bitcode/Reader/BitcodeReader.cpp?rev=258357&r1=258356&r2=258357&view=diff
==============================================================================
--- llvm/trunk/lib/Bitcode/Reader/BitcodeReader.cpp (original)
+++ llvm/trunk/lib/Bitcode/Reader/BitcodeReader.cpp Wed Jan 20 16:15:23 2016
@@ -2537,7 +2537,7 @@ std::error_code BitcodeReader::parseCons
       return error("Malformed block");
     case BitstreamEntry::EndBlock:
       if (NextCstNo != ValueList.size())
-        return error("Invalid ronstant reference");
+        return error("Invalid constant reference");
 
       // Once all the constants have been read, go through and resolve forward
       // references.




More information about the llvm-commits mailing list