[PATCH] D21962: MPITypeMismatchCheck for Clang-Tidy

Alexander Droste via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 3 14:07:30 PDT 2016


Alexander_Droste added a comment.

Hi Alexander,

this is the check that verifies buffer type / MPI datatype inconsistencies
that was originally part of http://reviews.llvm.org/D12761.


================
Comment at: docs/clang-tidy/checks/list.rst:63
@@ -62,2 +62,3 @@
    misc-inefficient-algorithm
+   misc-m-p-i-type-mismatch
    misc-macro-parentheses
----------------
Will be removed.

================
Comment at: test/clang-tidy/misc-mpi-type-mismatch.cpp:3
@@ +2,3 @@
+
+// #include "clang/../../test/Analysis/MPIMock.h"
+#include "/Users/lx/Documents/Text/Code/Open_Source/llvm_trunk_git/repo/tools/clang/test/Analysis/MPIMock.h"
----------------
This header needs to moved but I need some guidance where to put it so that the test file can access it. Using relative paths within the `include` seems not to be possible.


http://reviews.llvm.org/D21962





More information about the cfe-commits mailing list