Szelethus added inline comments.
================
Comment at: clang/lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp:468-502
void CheckerRegistry::validateCheckerOptions() const {
for (const auto &Config : AnOpts.Config) {
StringRef SuppliedChecker;
StringRef SuppliedOption;
std::tie(SuppliedChecker, SuppliedOption) = Config.getKey().split(':');
----------------
Also, you can validate whether the user-provided checker/package names actually
exist by modifying this function a bit.
Only if you feel like it, I don't insist :)
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66042/new/
https://reviews.llvm.org/D66042
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits