HomePhabricator

[Concepts] Do not check constraints if not all template arguments have been…

Authored by saar.raz on Feb 12 2020, 5:58 AM.

Description

[Concepts] Do not check constraints if not all template arguments have been deduced

We previously checked the constraints of instantiated function templates even in cases where
PartialOverloading was true and not all template arguments have been deduced, which caused crashes
in clangd (bug 44714).

We now check if all arguments have been deduced before checking constraints in partial overloading
scenarios.

Details

Committed
saar.razFeb 12 2020, 6:02 AM
Parents
rGcd515a6538f4: [AggressiveInstCombine] Add test with baseline CHECKs for aggressive inst…
Branches
Unknown
Tags
Unknown