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 | 332ef55cf27c8bba68729368b3c331c20f776df0 (patch) | |
tree | 1955ca3705f523ce364f96eda1d705c741066268 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | c7ba5333782fb9643c35f94effca96c5f7526824 (diff) | |
download | bcm5719-llvm-332ef55cf27c8bba68729368b3c331c20f776df0.tar.gz bcm5719-llvm-332ef55cf27c8bba68729368b3c331c20f776df0.zip |
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.
llvm-svn: 69227
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions