llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject
Kristof Umann 83cc1b35d1 [analyzer] Remove the default value arg from getChecker*Option
Since D57922, the config table contains every checker option, and it's default
value, so having it as an argument for getChecker*Option is redundant.

By the time any of the getChecker*Option function is called, we verified the
value in CheckerRegistry (after D57860), so we can confidently assert here, as
any irregularities detected at this point must be a programmer error. However,
in compatibility mode, verification won't happen, so the default value must be
restored.

This implies something else, other than adding removing one more potential point
of failure -- debug.ConfigDumper will always contain valid values for
checker/package options!

Differential Revision: https://reviews.llvm.org/D59195

llvm-svn: 361042
2019-05-17 15:52:13 +00:00
..
UninitializedObject.h [analyzer][UninitializedObjectChecker] PR41741: Regard all scalar types as primitive. 2019-05-05 19:42:33 +00:00
UninitializedObjectChecker.cpp [analyzer] Remove the default value arg from getChecker*Option 2019-05-17 15:52:13 +00:00
UninitializedPointee.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00