aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard@metafoo.co.uk>2020-12-02 17:46:28 -0800
committerRichard Smith <richard@metafoo.co.uk>2020-12-02 17:54:55 -0800
commitc4fb7720ceb30f25c38d994fb375e4d1978de144 (patch)
tree88327c5407503fb39c684e3702c9ee128291f9f1 /clang/lib/Frontend/CompilerInvocation.cpp
parent4cc56d2b1975cb30c6ba5ea4e948905e11c8625e (diff)
downloadllvm-c4fb7720ceb30f25c38d994fb375e4d1978de144.zip
llvm-c4fb7720ceb30f25c38d994fb375e4d1978de144.tar.gz
llvm-c4fb7720ceb30f25c38d994fb375e4d1978de144.tar.bz2
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.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions