alexfh added a comment. In https://reviews.llvm.org/D21962#492657, @Alexander_Droste wrote:
> Still, the type mismatch is somehow not found/listed by clang-tidy. > When invoking `$LLVM_TRUNK/build/.../clang-tidy -checks='*' -list-checks | > ag mpi` > it does not show up. Something seems to be missing, in order to make the mpi > module available. You need to add this to ClangTidyMain.cpp: // This anchor is used to force the linker to link the MPIModule. extern volatile int MPIModuleAnchorSource; static int LLVM_ATTRIBUTE_UNUSED MPIModuleAnchorDestination = MPIModuleAnchorSource; https://reviews.llvm.org/D21962 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits