]> granicus.if.org Git - clang/commit
Pass expressions instead of argument ranges to EmitCall/EmitCXXConstructorCall.
authorAlexey Samsonov <vonosmas@gmail.com>
Thu, 21 Aug 2014 20:26:47 +0000 (20:26 +0000)
committerAlexey Samsonov <vonosmas@gmail.com>
Thu, 21 Aug 2014 20:26:47 +0000 (20:26 +0000)
commit4152ff7c0fba3b45e3fc8c90e632be8d87d20da8
tree8462c9a19d48781e03a9bb7a6a395ed93c88d177
parent3f1e549cc03b06908e3de45a2afd478e127d74cf
Pass expressions instead of argument ranges to EmitCall/EmitCXXConstructorCall.

Summary:
This is a first small step towards passing generic "Expr" instead of
ArgBeg/ArgEnd pair into EmitCallArgs() family of methods. Having "Expr" will
allow us to get the corresponding FunctionDecl and its ParmVarDecls,
thus allowing us to alter CodeGen depending on the function/parameter
attributes.

No functionality change.

Test Plan: regression test suite

Reviewers: rnk

Reviewed By: rnk

Subscribers: aemerson, cfe-commits

Differential Revision: http://reviews.llvm.org/D4915

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@216214 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGBuiltin.cpp
lib/CodeGen/CGCUDARuntime.cpp
lib/CodeGen/CGClass.cpp
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CGExprCXX.cpp
lib/CodeGen/CodeGenFunction.h