xazax.hun added a comment.

Hi!

Please add the [analyzer] tag in front of your patches as some folks have 
automated scripts based on that tag to add themselves as subscriber/reviewer.

A small debugging/productivity tip, if you add a `printState` method to your 
checker like in 
https://github.com/llvm/llvm-project/blob/master/clang/lib/StaticAnalyzer/Checkers/FuchsiaHandleChecker.cpp#L573
 , you will be able to see the checker state in the exploded graph dumps.

See some other comments inline.



================
Comment at: clang/lib/StaticAnalyzer/Checkers/SmartPtrModeling.cpp:31
 namespace {
-class SmartPtrModeling : public Checker<eval::Call> {
+struct RegionState {
+private:
----------------
I think `RegionState` is not very descriptive. I'd call it something like 
`RegionNullness`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D81315



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

Reply via email to