llvm-project
299be612 - [clang] Fix CodeComplete crash involving CWG1432 (#129436)

Commit
212 days ago
[clang] Fix CodeComplete crash involving CWG1432 (#129436) This skips the provisional resolution of CWG1432 just when ordering the candidates for function call code completion, as otherwise this breaks some assumptions the implementation makes about how closely related the candidates are. As a drive-by, deduplicate the implementation with the one used for class template partial ordering, and strenghten an assertion which was previosuly dependent on the order of candidates. Also add a test for the fix for CWG1432 when partial ordering function templates, which was otherwise untested. Fixes #125500
Author
Parents
Loading