OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a6cb15
)
fix an incorrect and extremely confusing error message
author
Chris Lattner
<sabre@nondot.org>
Sun, 5 Oct 2008 18:24:03 +0000
(18:24 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 5 Oct 2008 18:24:03 +0000
(18:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57123
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/Verifier.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/Verifier.cpp
b/lib/VMCore/Verifier.cpp
index
820bf33
..
affbc9a
100644
(file)
--- a/
lib/VMCore/Verifier.cpp
+++ b/
lib/VMCore/Verifier.cpp
@@
-418,7
+418,7
@@
void Verifier::VerifyAttrs(Attributes Attrs, const Type *Ty,
}
Attributes FnCheckAttr = Attrs & Attribute::FunctionOnly;
Assert1(!FnCheckAttr, "Attribute " + Attribute::getAsString(FnCheckAttr) +
- " only applies to
return value
s!", V);
+ " only applies to
function
s!", V);
for (unsigned i = 0;
i < array_lengthof(Attribute::MutuallyIncompatible); ++i) {