PR48339: Improve diagnostics for invalid dependent unqualified function calls.
Fix bogus diagnostics that would get confused and think a "no viable fuctions" case was an "undeclared identifiers" case, resulting in an incorrect diagnostic preceding the correct one. Use overload resolution to determine which function we should select when we can find call candidates from a dependent base class. Make the diagnostics for a call that could call a function from a dependent base class more specific, and use a different diagnostic message for the case where the call target is instead declared later in the same class. Plus some minor diagnostic wording improvements.
parent
4cc56d2b
Please register or sign in to comment