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:51:26 +0200 |
commit | 980517b3530ffb7faa1a23fdc007d78f5b45ae3c (patch) | |
tree | 15d52e8919f6dc3db82a37cba0abaa7e7c7e1e38 /llvm/lib/IR/Module.cpp | |
parent | 5ae6554a1dcd2e39346030c06d364492901c9e8d (diff) | |
download | llvm-980517b3530ffb7faa1a23fdc007d78f5b45ae3c.zip llvm-980517b3530ffb7faa1a23fdc007d78f5b45ae3c.tar.gz llvm-980517b3530ffb7faa1a23fdc007d78f5b45ae3c.tar.bz2 |
[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.
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions