aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-13 21:27:19 +0000
committerOwen Anderson <resistor@mac.com>2009-07-13 21:27:19 +0000
commit8d9397a582f963064c5a044543887336898e8ef8 (patch)
tree2b9e595e121059ef1a578089d6451f3b3b72589d /include
parent714dd9b716dfb8625bd7f2ecb18c6c9660374b9e (diff)
downloadexternal_llvm-8d9397a582f963064c5a044543887336898e8ef8.zip
external_llvm-8d9397a582f963064c5a044543887336898e8ef8.tar.gz
external_llvm-8d9397a582f963064c5a044543887336898e8ef8.tar.bz2
As Chris pointed out, this doesn't actually need an LLVMContext to operate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75508 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Constants.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h
index ac0b0fb..b727de3 100644
--- a/include/llvm/Constants.h
+++ b/include/llvm/Constants.h
@@ -375,7 +375,7 @@ public:
/// isString) and it ends in a null byte \0 and does not contains any other
/// @endverbatim
/// null bytes except its terminator.
- bool isCString(LLVMContext &Context) const;
+ bool isCString() const;
/// getAsString - If this array is isString(), then this method converts the
/// array to an std::string and returns it. Otherwise, it asserts out.