diff options
author | Saar Raz <saar@raz.email> | 2020-01-31 03:37:46 +0200 |
---|---|---|
committer | Saar Raz <saar@raz.email> | 2020-01-31 03:52:53 +0200 |
commit | cc85862c60a566332389bff6abad26e100cede6c (patch) | |
tree | ba879f3130c77b299938904448836c98572b67b6 /clang/lib/Sema/SemaTemplateInstantiate.cpp | |
parent | 0ce7ea7c6e0e6fde5c961a574592bdd2ebebdeb7 (diff) | |
download | bcm5719-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/lib/Sema/SemaTemplateInstantiate.cpp')
0 files changed, 0 insertions, 0 deletions