[llvm-commits] [llvm] r57123 - /llvm/trunk/lib/VMCore/Verifier.cpp
Chris Lattner
sabre at nondot.org
Sun Oct 5 11:24:03 PDT 2008
Author: lattner
Date: Sun Oct 5 13:24:03 2008
New Revision: 57123
URL: http://llvm.org/viewvc/llvm-project?rev=57123&view=rev
Log:
fix an incorrect and extremely confusing error message
Modified:
llvm/trunk/lib/VMCore/Verifier.cpp
Modified: llvm/trunk/lib/VMCore/Verifier.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Verifier.cpp?rev=57123&r1=57122&r2=57123&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/Verifier.cpp (original)
+++ llvm/trunk/lib/VMCore/Verifier.cpp Sun Oct 5 13:24:03 2008
@@ -418,7 +418,7 @@
}
Attributes FnCheckAttr = Attrs & Attribute::FunctionOnly;
Assert1(!FnCheckAttr, "Attribute " + Attribute::getAsString(FnCheckAttr) +
- " only applies to return values!", V);
+ " only applies to functions!", V);
for (unsigned i = 0;
i < array_lengthof(Attribute::MutuallyIncompatible); ++i) {
More information about the llvm-commits
mailing list