diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-05-20 18:46:25 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-05-20 18:46:25 +0000 |
commit | ce934146d0653618922f55a37471fcbf7bd3daa1 (patch) | |
tree | 74398afd7290f8dc1a70b206284eef8938d44731 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | d20a03f30827fdb3ae4fb48522bb6b92fd31c846 (diff) | |
download | llvm-ce934146d0653618922f55a37471fcbf7bd3daa1.zip llvm-ce934146d0653618922f55a37471fcbf7bd3daa1.tar.gz llvm-ce934146d0653618922f55a37471fcbf7bd3daa1.tar.bz2 |
Introduce a new expression type, CXXUnresolvedConstructExpr, to
describe the construction of a value of a given type using function
syntax, e.g.,
T(a1, a2, ..., aN)
when the type or any of its arguments are type-dependent. In this
case, we don't know what kind of type-construction this will be: it
might construct a temporary of type 'T' (which might be a class or
non-class type) or might perform a conversion to type 'T'. Also,
implement printing of and template instantiation for this new
expression type. Due to the change in Sema::ActOnCXXTypeConstructExpr,
our existing tests cover template instantiation of this new expression
node.
llvm-svn: 72176
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions