baloghadamsoftware added a comment.

It is impossible to use `CheckerManager` as parameter for `shouldRegisterXXX()` 
because `CheckerRegistry` does not have it. If I add `CheckerManager` to 
`CheckerRegistry` then the `printXXX()` functions will not work because they do 
not have `CheckerManager` at all. This patch does not help in printing error 
message, see D75171 <https://reviews.llvm.org/D75171>. I need a way to solve 
44998 <https://bugs.llvm.org/show_bug.cgi?id=44998> by rejecting the checker if 
the option is disabled **and** printing an error message.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75271/new/

https://reviews.llvm.org/D75271



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to