aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/CommandLineTest.cpp
diff options
context:
space:
mode:
authorKristof Umann <dkszelethus@gmail.com>2019-01-26 21:41:50 +0000
committerKristof Umann <dkszelethus@gmail.com>2019-01-26 21:41:50 +0000
commit204bf2bbb265b5158783bacf9a67b0bc4cc57747 (patch)
tree15fd00c3646787c7b471644e014b5f1c4b9228f2 /llvm/unittests/Support/CommandLineTest.cpp
parenta914fa4dd881af669dba66e68677116f0436d1ed (diff)
downloadllvm-204bf2bbb265b5158783bacf9a67b0bc4cc57747.zip
llvm-204bf2bbb265b5158783bacf9a67b0bc4cc57747.tar.gz
llvm-204bf2bbb265b5158783bacf9a67b0bc4cc57747.tar.bz2
[analyzer] Add CheckerManager::getChecker, make sure that a registry function registers no more than 1 checker
This patch effectively fixes the almost decade old checker naming issue. The solution is to assert when CheckerManager::getChecker is called on an unregistered checker, and assert when CheckerManager::registerChecker is called on a checker that is already registered. Differential Revision: https://reviews.llvm.org/D55429 llvm-svn: 352292
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions