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.

(cherry picked from commit 5fef14d932fe602bf998b8fb8a809ff85ca1e245)

Details

Committed
saar.razFeb 12 2020, 6:03 AM
Parents
rG2804f355820e: Fix an unused variable warning
Branches
Unknown
Tags
Unknown