[clang] [LifetimeSafety] Add fix-it for misplaced lifetimebound attributes (PR #199149)

via cfe-commits cfe-commits at lists.llvm.org
Mon May 25 04:27:06 PDT 2026


NeKon69 wrote:

> Not something that needs to be addressed in this PR, but another thing I’m a bit unsure about is whether we should move these warnings to `LifetimeSafetySuggestions` group now that they have fix-its. My concern is that this would also cause these warnings to show up in `warn-lifetime-safety-fixits.cpp` and `warn-lifetime-safety-suggestions.cpp`, which probably wouldn’t be ideal.

@usx95 What would you say about that?

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


More information about the cfe-commits mailing list