[clang] [LifetimeSafety] Extend suggestions for `lifetimebound` to also warn on canonical declarations (PR #198784)

via cfe-commits cfe-commits at lists.llvm.org
Thu May 21 08:09:53 PDT 2026


NeKon69 wrote:

> `getCanonicalFunctionDeclForAttr` and `getCrossTUDecl` are also quite similar. I would prefer to have a single place dictating the annotation placement policy.

That's what I also had in mind originally for solving #198628, but I guess we could merge these issues together in this PR?

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


More information about the cfe-commits mailing list