diff options
author | Anders Carlsson <andersca@mac.com> | 2009-04-15 21:48:18 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-04-15 21:48:18 +0000 |
commit | ca29ad9fea0fd51ac622c3f2db1890fdc5dae201 (patch) | |
tree | 67efd5b71d9366d72c7fdccc718f5b44728575c7 /lib/CodeGen/CGBlocks.cpp | |
parent | dbb4f21125699f207ce7accfc52fdd99f47ce352 (diff) |
When declaring a variable that has a constructor and a direct initializer, for example:
struct X {
X(int, int);
};
X x(10, 10);
we model that as
X x = X(10, 10);
inserting a temporary object expr.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69227 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGBlocks.cpp')
0 files changed, 0 insertions, 0 deletions