martong added a comment.

Thanks Vince! Nice work!

Do you think it would be worth to have a test that checks the equality of a 
double pointer and a bi-dimensional array? Something like:

  void struct_pointer_canon(struct s **ps) {
    struct s ss = **ps;
    clang_analyzer_eval(&(ps[0][0].v) == &((*ps)->v)); // 
expected-warning{{TRUE}}
  }


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110625

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

Reply via email to