diff options
author | Kristof Umann <dkszelethus@gmail.com> | 2019-01-26 16:35:33 +0000 |
---|---|---|
committer | Kristof Umann <dkszelethus@gmail.com> | 2019-01-26 16:35:33 +0000 |
commit | 3daa245550940c3df5c2338e4f431d77606733bb (patch) | |
tree | 1c657307870dc8407ceda9a61864e7dab6d9e745 /llvm/unittests/Support/CommandLineTest.cpp | |
parent | 7d6c58e843ed38719ee4f5f8facdaedb1edcf329 (diff) | |
download | llvm-3daa245550940c3df5c2338e4f431d77606733bb.zip llvm-3daa245550940c3df5c2338e4f431d77606733bb.tar.gz llvm-3daa245550940c3df5c2338e4f431d77606733bb.tar.bz2 |
[analyzer][NFC] Keep track of whether enabling a checker was explictly specified in command line arguments
I added a new enum to CheckerInfo, so we can easily track whether the check is
explicitly enabled, explicitly disabled, or isn't specified in this regard.
Checkers belonging in the latter category may be implicitly enabled through
dependencies in the followup patch. I also made sure that this is done within
CheckerRegisty's constructor, leading to very significant simplifications in
its query-like methods.
Differential Revision: https://reviews.llvm.org/D56989
llvm-svn: 352282
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions