================ @@ -1576,6 +1580,10 @@ def CheckerDocumentationChecker : Checker<"CheckerDocumentation">, HelpText<"Defines an empty checker callback for all possible handlers.">, Documentation<NotDocumented>; +def DebugLifetimeAnnotations : Checker<"DebugLifetimeAnnotations">, + HelpText<"Prints the bindings recorded by the LifetimeAnnotations checker. Use with clang_analyzer_lifetime_bound().">, + Documentation<NotDocumented>; ---------------- isuckatcs wrote:
Can you please add a testcase that checks if this checker is used without `LifetimeAnnotations` enabled? Can we handle that case? Will the analyzer not crash? IIUC we always have both of these checkers enabled during testing. Also, we might want to add something like this: ```suggestion Dependencies<[LifetimeAnnotations]>, Documentation<NotDocumented>; ``` https://github.com/llvm/llvm-project/pull/200145 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
