aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard@metafoo.co.uk>2021-02-03 23:31:51 -0800
committerRichard Smith <richard@metafoo.co.uk>2021-02-03 23:38:02 -0800
commitcde8d2fddbff55cae520d90f47f6faf124d3f953 (patch)
tree7270d94b5c0b18b86060f3c3c5138b1cc20797a4 /clang/lib/Frontend/CompilerInvocation.cpp
parent1029c82c1e199d654059fad9e3fbef6e68501863 (diff)
downloadllvm-cde8d2fddbff55cae520d90f47f6faf124d3f953.zip
llvm-cde8d2fddbff55cae520d90f47f6faf124d3f953.tar.gz
llvm-cde8d2fddbff55cae520d90f47f6faf124d3f953.tar.bz2
Fix miscompile when performing template instantiation of non-dependent
doubly-nested implicit CXXConstructExprs. Ensure that we transform the parameter initializer using TransformInitializer rather than TransformExpr so that we properly strip down and rebuild the initialization, including any necessary CXXBindTemporaryExprs. Otherwise we can end up forgetting to destroy temporary objects used to construct a constructor parameter.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions