//===-- MPIChecker.h - Verify MPI API usage- --------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// /// /// \file /// This file defines the main class of MPI-Checker which serves as an entry /// point. It is created once for each translation unit analysed. /// The checker defines path-sensitive checks, to verify correct usage of the /// MPI API. /// //===----------------------------------------------------------------------===// #ifndef LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_MPICHECKER_MPICHECKER_H #define LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_MPICHECKER_MPICHECKER_H #include "MPIBugReporter.h" #include "MPITypes.h" #include "clang/StaticAnalyzer/Checkers/MPIFunctionClassifier.h" #include "clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h" #include "clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h" namespace clang { namespace ento { namespace mpi { class MPIChecker : public Checker<check::PreCall, check::DeadSymbols> { … }; } // end of namespace: mpi } // end of namespace: ento } // end of namespace: clang #endif