summaryrefslogtreecommitdiffstats
path: root/lib/VMCore/LLVMContext.cpp
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/LLVMContext.cpp
parentd06c59821a1ca0191ea8a326a18509808a02ed03 (diff)
downloadexternal_llvm-b3056faa5554ded7ac1ac5865d10ef5839fb77d3.zip
external_llvm-b3056faa5554ded7ac1ac5865d10ef5839fb77d3.tar.gz
external_llvm-b3056faa5554ded7ac1ac5865d10ef5839fb77d3.tar.bz2
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/LLVMContext.cpp')
-rw-r--r--lib/VMCore/LLVMContext.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/VMCore/LLVMContext.cpp b/lib/VMCore/LLVMContext.cpp
index bb3762b..5e009ea 100644
--- a/lib/VMCore/LLVMContext.cpp
+++ b/lib/VMCore/LLVMContext.cpp
@@ -80,16 +80,16 @@ UndefValue* LLVMContext::getUndef(const Type* Ty) {
}
// ConstantInt accessors.
-ConstantInt* LLVMContext::getConstantIntTrue() {
+ConstantInt* LLVMContext::getTrue() {
assert(this && "Context not initialized!");
assert(pImpl && "Context not initialized!");
- return pImpl->getConstantIntTrue();
+ return pImpl->getTrue();
}
-ConstantInt* LLVMContext::getConstantIntFalse() {
+ConstantInt* LLVMContext::getFalse() {
assert(this && "Context not initialized!");
assert(pImpl && "Context not initialized!");
- return pImpl->getConstantIntFalse();
+ return pImpl->getFalse();
}
Constant* LLVMContext::getConstantInt(const Type* Ty, uint64_t V,