diff options
author | David Blaikie <dblaikie@gmail.com> | 2015-05-18 22:14:03 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2015-05-18 22:14:03 +0000 |
commit | 34ef52a5d151a624e2408e4d378213e127085bab (patch) | |
tree | 47e993b487a88376404eda93df6dd9d0c1326464 /lib/CodeGen/CGObjCRuntime.cpp | |
parent | 1ae192d27bfbd67203babc48ab5d28459336f32a (diff) | |
download | clang-34ef52a5d151a624e2408e4d378213e127085bab.tar.gz |
API update for streamlining of IRBuilder::CreateCall to just use ArrayRef/initializer_list+braced init
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@237625 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGObjCRuntime.cpp')
-rw-r--r-- | lib/CodeGen/CGObjCRuntime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGObjCRuntime.cpp b/lib/CodeGen/CGObjCRuntime.cpp index 3d013da51e..5290a87ceb 100644 --- a/lib/CodeGen/CGObjCRuntime.cpp +++ b/lib/CodeGen/CGObjCRuntime.cpp @@ -160,7 +160,7 @@ namespace { void Emit(CodeGenFunction &CGF, Flags flags) override { if (!MightThrow) { - CGF.Builder.CreateCall(Fn)->setDoesNotThrow(); + CGF.Builder.CreateCall(Fn, {})->setDoesNotThrow(); return; } |