search for: clangtidycheck

Displaying 1 result from an estimated 1 matches for "clangtidycheck".

2020 Sep 27
3
How to add a new clang-tidy module
...rmation. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_MISRA_M011CHECK_H +#define LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_MISRA_M011CHECK_H + +#include "../ClangTidyCheck.h" + +namespace clang { +namespace tidy { +namespace misra { + +/// FIXME: Write a short description. +/// +/// For the user-facing documentation see: +/// http://clang.llvm.org/extra/clang-tidy/checks/misra-m-0-1-1.html +class M011Check : public ClangTidyCheck { +public: + M011Check(StringRe...