[clang] [llvm] [analyzer] Implemented a base of detecing lifetimebound annotation (PR #200145)
Balázs Benics via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 23 03:56:58 PDT 2026
================
@@ -0,0 +1,12 @@
+// RUN: %clang_analyze_cc1 -analyzer-checker=debug.DebugLifetimeAnnotations \
----------------
steakhal wrote:
We must also enable `core` because the `cc1` driver does not enable the otherwise default enabled checkers when using the clang flag `--analyze`. tldr; enable `core`. And probably also your checker beyond the debug checker.
https://github.com/llvm/llvm-project/pull/200145
More information about the cfe-commits
mailing list