Emit a diagnostic note at the class declaration when the method definition does not match any declaration. #110558
Labels
clang:diagnostics
New/improved warning or error message in Clang, but not in clang-tidy or static analyzer
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
good first issue
https://github.com/llvm/llvm-project/contribute
Considering the follow case:
Currently, Clang only emits the error out-of-line definition of 'Bar' does not match any declaration at the Bar definition. It would be helpful to also emit a note pointing to the FooBar class declaration (GCC already does this).
See https://godbolt.org/z/GG8zvvzaP
The text was updated successfully, but these errors were encountered: