diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-11-06 23:00:41 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-11-06 23:00:41 +0000 |
commit | 9f5260ab1350519b6569e67e0cf30a265f02dd20 (patch) | |
tree | 956c0cc6bfb897642e7b9b02e57185a264a14d7e /clang/lib/CodeGen/CGException.cpp | |
parent | b8f58b53dd3b3cbecf6946b0ce6fc9923db9223a (diff) | |
download | bcm5719-llvm-9f5260ab1350519b6569e67e0cf30a265f02dd20.tar.gz bcm5719-llvm-9f5260ab1350519b6569e67e0cf30a265f02dd20.zip |
CodeGen: Remove implicit ilist iterator conversions, NFC
Make ilist iterator conversions explicit in clangCodeGen. Eventually
I'll remove them everywhere.
llvm-svn: 252358
Diffstat (limited to 'clang/lib/CodeGen/CGException.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGException.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CGException.cpp b/clang/lib/CodeGen/CGException.cpp index f5b44345d63..eaa76109be1 100644 --- a/clang/lib/CodeGen/CGException.cpp +++ b/clang/lib/CodeGen/CGException.cpp @@ -1577,7 +1577,7 @@ void CodeGenFunction::EmitCapturedLocals(CodeGenFunction &ParentCGF, // second parameter. auto AI = CurFn->arg_begin(); ++AI; - ParentFP = AI; + ParentFP = &*AI; } // Create llvm.localrecover calls for all captures. @@ -1732,8 +1732,7 @@ void CodeGenFunction::EmitSEHExceptionCodeSave(CodeGenFunction &ParentCGF, // __exception_info intrinsic. if (CGM.getTarget().getTriple().getArch() != llvm::Triple::x86) { // On Win64, the info is passed as the first parameter to the filter. - auto AI = CurFn->arg_begin(); - SEHInfo = AI; + SEHInfo = &*CurFn->arg_begin(); SEHCodeSlotStack.push_back( CreateMemTemp(getContext().IntTy, "__exception_code")); } else { |