diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-10-20 18:30:20 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-10-20 18:30:20 +0000 |
commit | 70f8c2049fceeebb3342dfedfd5aceba6fa356d9 (patch) | |
tree | d771671f50644b306e65adb32894fcd458438351 /unittests/Linker | |
parent | 00f8d5fdf7b667e16a0d62188a50edff3e3a92e2 (diff) |
unittests: Remove implicit ilist iterator conversions, NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250843 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Linker')
-rw-r--r-- | unittests/Linker/LinkModulesTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/Linker/LinkModulesTest.cpp b/unittests/Linker/LinkModulesTest.cpp index 904ba58ce48..a1d889a6b3d 100644 --- a/unittests/Linker/LinkModulesTest.cpp +++ b/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"); |