Skip to content
Commit e6840d84 authored by Anders Carlsson's avatar Anders Carlsson
Browse files

If a class has a non-trivial constructor that doesn't take any arguments, we...

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();

llvm-svn: 69326
parent 302279ed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment