================
@@ -35,7 +35,10 @@ inline bool IsLifetimeSafetyDiagnosticEnabled(Sema &S, const
Decl *D) {
!Diags.isIgnored(diag::warn_lifetime_safety_invalidation,
D->getBeginLoc()) ||
!Diags.isIgnored(diag::warn_lifetime_safety_noescape_escapes,
- D->getBeginLoc());
+ D->getBeginLoc()) ||
+ !Diags.isIgnored(
+ diag::warn_lifetime_safety_param_lifetimebound_violation,
+ D->getBeginLoc());
}
----------------
NeKon69 wrote:
I think I'll add them in this PR, I also have my own warning which I didn't put
here before.
https://github.com/llvm/llvm-project/pull/196144
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits