[clang] [clang][ast][objc] Implement getNameForDiagnostic for ObjCMethodDecl and ObjCPropertyDecl. (PR #213030)

via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 31 07:16:05 PDT 2026


dmaclach wrote:

> > My understanding is that improving diagnostic messages is encouraged, and maintenance of any downstream tooling depending on them for regex parsing is up to the developer of such tooling :)
> 
> You are right. The PR looks good.
> 
> I want to lear more about your motivation. What made you writing this patch?

[I am working on improving](https://github.com/llvm/llvm-project/pulls?q=+is%3Apr+author%3Admaclach+created%3A%3E2026-05-01+) [include-cleaner](https://clangd.llvm.org/design/include-cleaner) for Objective-C.

The error messages I was seeing (ex: Header missing for 'NSObject::init') displeased me 😄 

https://github.com/llvm/llvm-project/pull/213030


More information about the cfe-commits mailing list