diff options
| author | Erich Keane <erich.keane@intel.com> | 2022-10-11 06:16:41 -0700 |
|---|---|---|
| committer | Erich Keane <erich.keane@intel.com> | 2022-10-18 06:08:10 -0700 |
| commit | 4bcb85c638c1c1719c5c01a70ee2e376e4032d2a (patch) | |
| tree | 90934139533e48ad169fd13da0dc2d45aac3486c /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 2946b252993d9b4c12479bf318b648bed2c0427a (diff) | |
Stop evaluating trailing requires clause after overload resolution
Reported as it showed up as a constriants failure after the deferred
instantiation patch, we were checking constraints TWICE after overload
resolution. The first is during overload resolution, the second is when
diagnosing a use.
This patch modifies DiagnoseUseOfDecl to skip the trailing requires
clause check in some cases. First, of course, after choosing a candidate
after overload resolution.
The second is when evaluating a shadow using constructor, which had its
constraints checked when picking a constructor (as this is ALWAYS an
overload situation!).
Differential Revision: https://reviews.llvm.org/D135772
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
