summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGBlocks.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-05-02 17:57:46 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-05-02 17:57:46 +0000
commit43dca6a8d2e9a0e2ad79cd7351965e75deacef35 (patch)
tree15541aadc189e14b678a6a919952d583776d7656 /clang/lib/CodeGen/CGBlocks.cpp
parent17bae4c5e6ad902c4b42e82565c749b820f16d99 (diff)
downloadbcm5719-llvm-43dca6a8d2e9a0e2ad79cd7351965e75deacef35.tar.gz
bcm5719-llvm-43dca6a8d2e9a0e2ad79cd7351965e75deacef35.zip
Simplify code a bit by using CallArgList::add. No intended functionality change.
llvm-svn: 130699
Diffstat (limited to 'clang/lib/CodeGen/CGBlocks.cpp')
-rw-r--r--clang/lib/CodeGen/CGBlocks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGBlocks.cpp b/clang/lib/CodeGen/CGBlocks.cpp
index 8d9c032f5f8..99a69a4f4a9 100644
--- a/clang/lib/CodeGen/CGBlocks.cpp
+++ b/clang/lib/CodeGen/CGBlocks.cpp
@@ -722,7 +722,7 @@ RValue CodeGenFunction::EmitBlockCallExpr(const CallExpr* E,
// Add the block literal.
QualType VoidPtrTy = getContext().getPointerType(getContext().VoidTy);
CallArgList Args;
- Args.push_back(std::make_pair(RValue::get(BlockLiteral), VoidPtrTy));
+ Args.add(RValue::get(BlockLiteral), VoidPtrTy);
QualType FnType = BPT->getPointeeType();
OpenPOWER on IntegriCloud