summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/temp/temp.constr/temp.constr.normal
diff options
context:
space:
mode:
authorSaar Raz <saar@raz.email>2020-01-31 03:37:46 +0200
committerSaar Raz <saar@raz.email>2020-01-31 03:52:53 +0200
commitcc85862c60a566332389bff6abad26e100cede6c (patch)
treeba879f3130c77b299938904448836c98572b67b6 /clang/test/CXX/temp/temp.constr/temp.constr.normal
parent0ce7ea7c6e0e6fde5c961a574592bdd2ebebdeb7 (diff)
downloadbcm5719-llvm-cc85862c60a566332389bff6abad26e100cede6c.tar.gz
bcm5719-llvm-cc85862c60a566332389bff6abad26e100cede6c.zip
[Concepts] Check function constraints before deducing auto return type
A constrained function with an auto return type would have it's definition instantiated in order to deduce the auto return type before the constraints are checked. Move the constraints check after the return type deduction. (cherry picked from commit 980517b3530ffb7faa1a23fdc007d78f5b45ae3c)
Diffstat (limited to 'clang/test/CXX/temp/temp.constr/temp.constr.normal')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud