[PATCH] Pass expressions instead of argument ranges to EmitCall/EmitCXXConstructorCall.

Alexey Samsonov vonosmas at gmail.com
Thu Aug 14 14:54:44 PDT 2014


Hi rnk,

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.

http://reviews.llvm.org/D4915

Files:
  lib/CodeGen/CGBuiltin.cpp
  lib/CodeGen/CGCUDARuntime.cpp
  lib/CodeGen/CGClass.cpp
  lib/CodeGen/CGExpr.cpp
  lib/CodeGen/CGExprCXX.cpp
  lib/CodeGen/CodeGenFunction.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4915.12526.patch
Type: text/x-patch
Size: 12624 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140814/a12f158d/attachment.bin>


More information about the cfe-commits mailing list