Alexander_Droste marked an inline comment as done. ================ Comment at: clang-tidy/mpi/BufferDerefCheck.cpp:88 @@ +87,3 @@ + while (true) { + if (BufferType->isPointerType()) { + BufferType = BufferType->getPointeeType().getTypePtr(); ---------------- I just realized, you meant sth. different. I'll update the patch to check for `nullptr` in `addBuffer`.
https://reviews.llvm.org/D22729 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits