diff options
author | Jay Foad <jay.foad@gmail.com> | 2011-07-12 14:06:48 +0000 |
---|---|---|
committer | Jay Foad <jay.foad@gmail.com> | 2011-07-12 14:06:48 +0000 |
commit | 5fdd6c8793462549e3593890ec61573da06e3346 (patch) | |
tree | 895067e740b3c6f2f97805443c61195cf8de169a /unittests/Analysis | |
parent | d475c105080cc5082ca8b8e87c89fa7c2dade39e (diff) | |
download | external_llvm-5fdd6c8793462549e3593890ec61573da06e3346.zip external_llvm-5fdd6c8793462549e3593890ec61573da06e3346.tar.gz external_llvm-5fdd6c8793462549e3593890ec61573da06e3346.tar.bz2 |
Second attempt at de-constifying LLVM Types in FunctionType::get(),
StructType::get() and TargetData::getIntPtrType().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134982 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Analysis')
-rw-r--r-- | unittests/Analysis/ScalarEvolutionTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/Analysis/ScalarEvolutionTest.cpp b/unittests/Analysis/ScalarEvolutionTest.cpp index b734160..39ced2a 100644 --- a/unittests/Analysis/ScalarEvolutionTest.cpp +++ b/unittests/Analysis/ScalarEvolutionTest.cpp @@ -23,7 +23,7 @@ TEST(ScalarEvolutionsTest, SCEVUnknownRAUW) { Module M("world", Context); const FunctionType *FTy = FunctionType::get(Type::getVoidTy(Context), - std::vector<const Type *>(), false); + std::vector<Type *>(), false); Function *F = cast<Function>(M.getOrInsertFunction("f", FTy)); BasicBlock *BB = BasicBlock::Create(Context, "entry", F); ReturnInst::Create(Context, 0, BB); |