diff options
author | Alexander Kornienko <alexfh@google.com> | 2018-03-15 08:25:39 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2018-03-15 08:25:39 +0000 |
commit | 7ff60761296f7797967843a5169f1634f3d5c431 (patch) | |
tree | a4fcb5684766793c32785da10f8167e81fd5c552 /clang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp | |
parent | ff6e82c9d050c17b6609cebcd65f97428c49e2cd (diff) | |
download | bcm5719-llvm-7ff60761296f7797967843a5169f1634f3d5c431.tar.gz bcm5719-llvm-7ff60761296f7797967843a5169f1634f3d5c431.zip |
[clang-tidy] rename_check.py {misc,bugprone}-macro-parentheses
llvm-svn: 327606
Diffstat (limited to 'clang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp')
-rw-r--r-- | clang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp b/clang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp index ff35641318e..4b530e7f3b5 100644 --- a/clang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp +++ b/clang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp @@ -22,6 +22,7 @@ #include "IncorrectRoundingsCheck.h" #include "IntegerDivisionCheck.h" #include "LambdaFunctionNameCheck.h" +#include "MacroParenthesesCheck.h" #include "MacroRepeatedSideEffectsCheck.h" #include "MisplacedOperatorInStrlenInAllocCheck.h" #include "MisplacedWideningCastCheck.h" @@ -73,6 +74,8 @@ public: "bugprone-integer-division"); CheckFactories.registerCheck<LambdaFunctionNameCheck>( "bugprone-lambda-function-name"); + CheckFactories.registerCheck<MacroParenthesesCheck>( + "bugprone-macro-parentheses"); CheckFactories.registerCheck<MacroRepeatedSideEffectsCheck>( "bugprone-macro-repeated-side-effects"); CheckFactories.registerCheck<MisplacedOperatorInStrlenInAllocCheck>( |