diff options
Diffstat (limited to 'contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/Checkers.td')
-rw-r--r-- | contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/Checkers.td | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/Checkers.td b/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/Checkers.td index cbd925400328..444b00d73f0b 100644 --- a/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/Checkers.td +++ b/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/Checkers.td @@ -349,6 +349,8 @@ let ParentPackage = APIModeling in { def StdCLibraryFunctionsChecker : Checker<"StdCLibraryFunctions">, HelpText<"Improve modeling of the C standard library functions">, + // Uninitialized value check is a mandatory dependency. This Checker asserts + // that arguments are always initialized. Dependencies<[CallAndMessageModeling]>, CheckerOptions<[ CmdLineOption<Boolean, @@ -538,7 +540,7 @@ def StdCLibraryFunctionArgsChecker : Checker<"StdCLibraryFunctionArgs">, "such as whether the parameter of isalpha is in the range [0, 255] " "or is EOF.">, Dependencies<[StdCLibraryFunctionsChecker]>, - WeakDependencies<[NonNullParamChecker]>, + WeakDependencies<[CallAndMessageChecker, NonNullParamChecker, StreamChecker]>, Documentation<NotDocumented>; } // end "alpha.unix" @@ -1476,8 +1478,8 @@ def LiveVariablesDumper : Checker<"DumpLiveVars">, HelpText<"Print results of live variable analysis">, Documentation<NotDocumented>; -def LiveStatementsDumper : Checker<"DumpLiveStmts">, - HelpText<"Print results of live statement analysis">, +def LiveExpressionsDumper : Checker<"DumpLiveExprs">, + HelpText<"Print results of live expression analysis">, Documentation<NotDocumented>; def CFGViewer : Checker<"ViewCFG">, @@ -1654,6 +1656,10 @@ def NoUncountedMemberChecker : Checker<"NoUncountedMemberChecker">, HelpText<"Check for no uncounted member variables.">, Documentation<HasDocumentation>; +def UncountedLambdaCapturesChecker : Checker<"UncountedLambdaCapturesChecker">, + HelpText<"Check uncounted lambda captures.">, + Documentation<HasDocumentation>; + } // end webkit let ParentPackage = WebKitAlpha in { @@ -1662,4 +1668,8 @@ def UncountedCallArgsChecker : Checker<"UncountedCallArgsChecker">, HelpText<"Check uncounted call arguments.">, Documentation<HasDocumentation>; +def UncountedLocalVarsChecker : Checker<"UncountedLocalVarsChecker">, + HelpText<"Check uncounted local variables.">, + Documentation<HasDocumentation>; + } // end alpha.webkit |