summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/mpi/MPITidyModule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/clang-tidy/mpi/MPITidyModule.cpp')
-rw-r--r--clang-tools-extra/clang-tidy/mpi/MPITidyModule.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang-tools-extra/clang-tidy/mpi/MPITidyModule.cpp b/clang-tools-extra/clang-tidy/mpi/MPITidyModule.cpp
index babf7b6ad20..55e187dbe0a 100644
--- a/clang-tools-extra/clang-tidy/mpi/MPITidyModule.cpp
+++ b/clang-tools-extra/clang-tidy/mpi/MPITidyModule.cpp
@@ -10,6 +10,7 @@
#include "../ClangTidy.h"
#include "../ClangTidyModule.h"
#include "../ClangTidyModuleRegistry.h"
+#include "BufferDerefCheck.h"
#include "TypeMismatchCheck.h"
namespace clang {
@@ -19,6 +20,7 @@ namespace mpi {
class MPIModule : public ClangTidyModule {
public:
void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override {
+ CheckFactories.registerCheck<BufferDerefCheck>("mpi-buffer-deref");
CheckFactories.registerCheck<TypeMismatchCheck>("mpi-type-mismatch");
}
};
OpenPOWER on IntegriCloud