aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore/LLVMContextImpl.h
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-21 18:03:38 +0000
committerOwen Anderson <resistor@mac.com>2009-07-21 18:03:38 +0000
commitb3056faa5554ded7ac1ac5865d10ef5839fb77d3 (patch)
tree464f3bc451710be725e281b6b660c07adcb007fc /lib/VMCore/LLVMContextImpl.h
parentd06c59821a1ca0191ea8a326a18509808a02ed03 (diff)
Rename getConstantInt{True|False} to get{True|False} at Chris' behest.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76598 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/LLVMContextImpl.h')
-rw-r--r--lib/VMCore/LLVMContextImpl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VMCore/LLVMContextImpl.h b/lib/VMCore/LLVMContextImpl.h
index 5571995c7e..02df15c81f 100644
--- a/lib/VMCore/LLVMContextImpl.h
+++ b/lib/VMCore/LLVMContextImpl.h
@@ -120,14 +120,14 @@ public:
MDNode *getMDNode(Value*const* Vals, unsigned NumVals);
- ConstantInt *getConstantIntTrue() {
+ ConstantInt *getTrue() {
if (TheTrueVal)
return TheTrueVal;
else
return (TheTrueVal = Context.getConstantInt(IntegerType::get(1), 1));
}
- ConstantInt *getConstantIntFalse() {
+ ConstantInt *getFalse() {
if (TheFalseVal)
return TheFalseVal;
else