[clang] [clang][analyzer] Move StreamChecker out of the alpha package. (PR #89247)

Balazs Benics via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 18 10:04:04 PDT 2024


================
@@ -563,6 +563,20 @@ def MismatchedDeallocatorChecker : Checker<"MismatchedDeallocator">,
   Dependencies<[DynamicMemoryModeling]>,
   Documentation<HasDocumentation>;
 
+def StreamChecker : Checker<"Stream">,
+  HelpText<"Check stream handling functions">,
+  WeakDependencies<[NonNullParamChecker]>,
+  CheckerOptions<[
+    CmdLineOption<Boolean,
+                  "Pedantic",
+                  "If false, assume that stream operations which are often not "
+                  "checked for error do not fail."
+                  "fail.",
----------------
steakhal wrote:

Isn't this line already present at the end of the previous line?

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


More information about the cfe-commits mailing list