commit | 321725d95d331d1612ac386d7d4235eca94b0021 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Wed Feb 03 03:01:57 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Wed Feb 03 03:01:57 2010 +0000 |
tree | 653a8ef4b3ee3a9f92dc089dcd248ed09ef09007 | |
parent | b0e4cb6a88a4b4bd2ecdcc622e852fa3e20290c9 [diff] |
Provide a real fix for PR6199, reverting the old workaround. Here, we realize that CXXConstructExpr is always implicit, so we should just return its argument (if there is only one) rather than directly invoking the constructor. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95192 91177308-0d34-0410-b5e6-96231b3b80d8