summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Linker
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-10-20 18:30:20 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-10-20 18:30:20 +0000
commitc8925b18719f5ee2da586a3f41b3e143c5d3466a (patch)
treebaddaef04789a5db82498ce64cc641949c59f142 /llvm/unittests/Linker
parentb7fcadf410bcb407812d3727b0ee1ea77d2fd887 (diff)
downloadbcm5719-llvm-c8925b18719f5ee2da586a3f41b3e143c5d3466a.tar.gz
bcm5719-llvm-c8925b18719f5ee2da586a3f41b3e143c5d3466a.zip
unittests: Remove implicit ilist iterator conversions, NFC
llvm-svn: 250843
Diffstat (limited to 'llvm/unittests/Linker')
-rw-r--r--llvm/unittests/Linker/LinkModulesTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Linker/LinkModulesTest.cpp b/llvm/unittests/Linker/LinkModulesTest.cpp
index 904ba58ce48..a1d889a6b3d 100644
--- a/llvm/unittests/Linker/LinkModulesTest.cpp
+++ b/llvm/unittests/Linker/LinkModulesTest.cpp
@@ -76,7 +76,7 @@ TEST_F(LinkModuleTest, BlockAddress) {
std::vector<Value *> GEPIndices;
GEPIndices.push_back(ConstantInt::get(Type::getInt32Ty(Ctx), 0));
- GEPIndices.push_back(F->arg_begin());
+ GEPIndices.push_back(&*F->arg_begin());
Value *GEP = Builder.CreateGEP(AT, GV, GEPIndices, "switch.gep");
Value *Load = Builder.CreateLoad(GEP, "switch.load");
OpenPOWER on IntegriCloud