diff options
author | Kristof Umann <dkszelethus@gmail.com> | 2019-01-26 17:27:40 +0000 |
---|---|---|
committer | Kristof Umann <dkszelethus@gmail.com> | 2019-01-26 17:27:40 +0000 |
commit | 98217adb87075a8aad9653fe94cdaf56a0334e83 (patch) | |
tree | 46ae3a31e63760d3756a22f25d5cdf2c9f974627 /llvm/unittests/Support/CommandLineTest.cpp | |
parent | 6162fba57ca099d8fe9c609264b39e73323130a5 (diff) | |
download | llvm-98217adb87075a8aad9653fe94cdaf56a0334e83.zip llvm-98217adb87075a8aad9653fe94cdaf56a0334e83.tar.gz llvm-98217adb87075a8aad9653fe94cdaf56a0334e83.tar.bz2 |
[analyzer] Fix an bug where statically linked, but not registered checkers weren't recognized
My last patch, D56989, moved the validation of whether a checker exists into
its constructor, but we do support statically linked (and non-plugin) checkers
that were do not have an entry in Checkers.td. However, the handling of this
happens after the creation of the CheckerRegistry object.
This patch fixes this bug by moving even this functionality into
CheckerRegistry's constructor.
llvm-svn: 352284
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions