commit | 73ed67cc36b06a380ddc3658beb7a84328c19ff6 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Mon Nov 26 08:32:48 2012 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Mon Nov 26 08:32:48 2012 +0000 |
tree | c8b20f04647125e7eecf15f3bb8d8e238c1cb3e3 | |
parent | 8dbf697cf5e10824659bc5061ebf470fa43716fa [diff] |
PR14428: When instantiating a 'new' expression, if we had a non-dependent initialization, don't rebuild it. Remove a couple of hacks which were trying to work around this. Fix the special case for one-argument CXXConstructExprs to not apply if the one argument is a default argument. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168582 91177308-0d34-0410-b5e6-96231b3b80d8