[PATCH] D12761: MPI-Checker patch for Clang Static Analyzer

Alexander Droste via cfe-commits cfe-commits at lists.llvm.org
Sun Mar 13 03:57:08 PDT 2016


Alexander_Droste added inline comments.

================
Comment at: test/Analysis/MPIChecker.cpp:97
@@ +96,3 @@
+
+    MPI_Isend(&buf, 1, MPI_DOUBLE, rank + 1, 6, MPI_COMM_WORLD, &sendReq1); // expected-note{{Request is previously used by nonblocking call here. }}
+    MPI_Irecv(&buf, 1, MPI_DOUBLE, rank - 1, 6, MPI_COMM_WORLD, &sendReq1); // expected-warning{{Double nonblocking on request 'sendReq1'.}}
----------------
All the `expected-note`s still fail, even though the diagnostics are presented in a report.


http://reviews.llvm.org/D12761





More information about the cfe-commits mailing list