[llvm-commits] [llvm] r128002 - /llvm/trunk/include/llvm/User.h
Jay Foad
jay.foad at gmail.com
Mon Mar 21 09:38:22 PDT 2011
Author: foad
Date: Mon Mar 21 11:38:22 2011
New Revision: 128002
URL: http://llvm.org/viewvc/llvm-project?rev=128002&view=rev
Log:
Fix typos in assert messages.
Modified:
llvm/trunk/include/llvm/User.h
Modified: llvm/trunk/include/llvm/User.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/User.h?rev=128002&r1=128001&r2=128002&view=diff
==============================================================================
--- llvm/trunk/include/llvm/User.h (original)
+++ llvm/trunk/include/llvm/User.h Mon Mar 21 11:38:22 2011
@@ -95,11 +95,11 @@
OperandList[i] = Val;
}
const Use &getOperandUse(unsigned i) const {
- assert(i < NumOperands && "getOperand() out of range!");
+ assert(i < NumOperands && "getOperandUse() out of range!");
return OperandList[i];
}
Use &getOperandUse(unsigned i) {
- assert(i < NumOperands && "getOperand() out of range!");
+ assert(i < NumOperands && "getOperandUse() out of range!");
return OperandList[i];
}
More information about the llvm-commits
mailing list