[clang] [clang][analyzer]Add TaintPropagation:EnableDefaultConfig config parameter (PR #176185)

DonĂ¡t Nagy via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 15 08:33:39 PST 2026


================
@@ -1621,6 +1621,14 @@ def TaintPropagationChecker : Checker<"TaintPropagation">, // Modelling checker
                   "Config",
                   "Specifies the name of the configuration file.",
                   "",
+                  Released>,
+    CmdLineOption<Boolean,
+                  "EnableDefaultConfig",
+                  "If set to true, the default source, sink and "
+                  "propagation rules are added. Consider setting "
+                  "it to false if you want to use a fully custom "
+                  "taint configuration.",
----------------
NagyDonat wrote:

I would  prefer adjusting this sentence the same way as I suggested in the previous review comment (on the documentation).

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


More information about the cfe-commits mailing list