[clang] [LifetimeSafety] Warn when lifetimebound attribute is present on the definition but not on declaration (PR #197753)

via cfe-commits cfe-commits at lists.llvm.org
Fri May 15 07:26:43 PDT 2026


NeKon69 wrote:

So I create separate warning groups like "LifetimeSafetyIntraTUMisplacedLifetimebound" and "LifetimeSafetyCrossTUMisplacedLifetimebound" and emit their corresponding warnings based on where the declaration is located? Also I would like to know your opinion on [this](https://github.com/llvm/llvm-project/pull/197753#discussion_r3247989662)

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


More information about the cfe-commits mailing list