commit | 930e8d0c2f0b30da3a6a9c440503976d8250e7cf | [log] [tgz] |
---|---|---|
author | Anders Carlsson <andersca@mac.com> | Thu Apr 16 23:50:50 2009 +0000 |
committer | Anders Carlsson <andersca@mac.com> | Thu Apr 16 23:50:50 2009 +0000 |
tree | fdc2c8cee5c4f852dd5641ef9dcedb8f34eca070 | |
parent | b00ac07d2582b8bd32b61478970e10a1524b0298 [diff] |
If a class has a non-trivial constructor that doesn't take any arguments, we will now make an implicit CXXTemporaryObjectExpr. So struct S { S(); }; void f() { S s; } 's' here will implicitly be declared as. S s = S(); git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69326 91177308-0d34-0410-b5e6-96231b3b80d8