[PATCH] D84316: [analyzer][NFC] Split CStringChecker to modeling and reporting

Kristóf Umann via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 24 05:28:57 PDT 2020


Szelethus added a comment.

Do I sense correctly that the only information `CSrtingLengthModeling.cpp` requires from the actual `CStringChecker` is a checker tag? Because if so, I think we should just separate them even more cleanly -- we could just make a `CStringLengthModeling` checker implement the checker callbacks in that cpp file and we wouldn't need to move `CStringChecker` to a header. Not that moving it there is fundamentally bad, but in this instance it seems like we're legalizing bloating checkers instead of separating them. Also, this patch seems to have a significant overlap with D84979 <https://reviews.llvm.org/D84979> -- is this intentional?


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

https://reviews.llvm.org/D84316



More information about the cfe-commits mailing list