File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ add_clang_library(clangTidyReadabilityModule STATIC
1111 AvoidUnconditionalPreprocessorIfCheck.cpp
1212 BracesAroundStatementsCheck.cpp
1313 ConstReturnTypeCheck.cpp
14+ ConstantOperandOrderCheck.cpp
1415 ContainerContainsCheck.cpp
1516 ContainerDataPointerCheck.cpp
1617 ContainerSizeEmptyCheck.cpp
Original file line number Diff line number Diff line change 1616#include " AvoidUnconditionalPreprocessorIfCheck.h"
1717#include " BracesAroundStatementsCheck.h"
1818#include " ConstReturnTypeCheck.h"
19+ #include " ConstantOperandOrderCheck.h"
1920#include " ContainerContainsCheck.h"
2021#include " ContainerDataPointerCheck.h"
2122#include " ContainerSizeEmptyCheck.h"
@@ -86,6 +87,10 @@ class ReadabilityModule : public ClangTidyModule {
8687 " readability-braces-around-statements" );
8788 CheckFactories.registerCheck <ConstReturnTypeCheck>(
8889 " readability-const-return-type" );
90+ CheckFactories.registerCheck <ConstantOperandOrderCheck>(
91+ " readability-constant-operand-order" );
92+ CheckFactories.registerCheck <ConstantOperandOrderCheck>(
93+ " readability-constant-operand-order" );
8994 CheckFactories.registerCheck <ContainerContainsCheck>(
9095 " readability-container-contains" );
9196 CheckFactories.registerCheck <ContainerDataPointerCheck>(
You can’t perform that action at this time.
0 commit comments