summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/dependent-expr.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard@metafoo.co.uk>2020-03-06 13:22:10 -0800
committerHans Wennborg <hans@chromium.org>2020-03-11 11:35:13 +0100
commit5b5a111c6794a0bb0385d04721ea854dd56da357 (patch)
tree11d924247e5949750811011ed0189832f6acadb9 /clang/test/SemaTemplate/dependent-expr.cpp
parent4e41127f04d7d7c6536f78ccdc7e4841a06102ba (diff)
downloadbcm5719-llvm-5b5a111c6794a0bb0385d04721ea854dd56da357.tar.gz
bcm5719-llvm-5b5a111c6794a0bb0385d04721ea854dd56da357.zip
PR45124: Don't leave behind pending cleanups when declaring implicit
deduction guides. Previously if an implicit deduction guide had a default argument with a cleanup, we'd leave the 'pending cleanup' flag set after declaring the implicit guide. But it turns out that there's no reason to even substitute into the default argument when declaring an implicit deduction guide: we only need to record that the default argument exists, not what it is, since we never actually form a call to a deduction guide. (cherry picked from commit 6d894afdea433879f54e5ba07e827db006645b7b)
Diffstat (limited to 'clang/test/SemaTemplate/dependent-expr.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud