================ @@ -901,12 +901,25 @@ def UncheckedReturn : Checker<"UncheckedReturn">, Dependencies<[SecuritySyntaxChecker]>, Documentation<HasDocumentation>; -def DeprecatedOrUnsafeBufferHandling : - Checker<"DeprecatedOrUnsafeBufferHandling">, - HelpText<"Warn on uses of unsecure or deprecated buffer manipulating " - "functions">, - Dependencies<[SecuritySyntaxChecker]>, - Documentation<HasDocumentation>; +def DeprecatedOrUnsafeBufferHandling + : Checker<"DeprecatedOrUnsafeBufferHandling">, + HelpText<"Warn on uses of unsecure or deprecated buffer manipulating " + "functions">, + Dependencies<[SecuritySyntaxChecker]>, + CheckerOptions< + [CmdLineOption< + String, "ReportMode", + "Controls when warnings are reported. \"all\" reports all " + "unsafe " + "functions regardless of C standard or Annex K availability. " + "\"actionable\" only reports when Annex K is available (C11 " + "with " ---------------- steakhal wrote:
I think you should re-flow the comments. Its weird to see a single word in a dedicated line. https://github.com/llvm/llvm-project/pull/168704 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
