================
@@ -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.",
+                  "false",
+                  InAlpha>
+  ]>,
+  Documentation<HasDocumentation>;
+
----------------
balazske wrote:

This would come after `StdCLibraryFunctionsChecker` if the original alphabetic 
order is used, but because `StdreamChecker` is a weak dependency of 
`StdCLibraryFunctionsChecker` it must be included before it to have the checker 
name available.

https://github.com/llvm/llvm-project/pull/89247
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to