File tree Expand file tree Collapse file tree 5 files changed +1055
-0
lines changed Expand file tree Collapse file tree 5 files changed +1055
-0
lines changed Original file line number Diff line number Diff line change 1919#include " CastingThroughVoidCheck.h"
2020#include " ChainedComparisonCheck.h"
2121#include " ComparePointerToMemberVirtualFunctionCheck.h"
22+ #include " ConflictingGlobalAccesses.h"
2223#include " CopyConstructorInitCheck.h"
2324#include " CrtpConstructorAccessibilityCheck.h"
2425#include " DanglingHandleCheck.h"
@@ -124,6 +125,8 @@ class BugproneModule : public ClangTidyModule {
124125 " bugprone-chained-comparison" );
125126 CheckFactories.registerCheck <ComparePointerToMemberVirtualFunctionCheck>(
126127 " bugprone-compare-pointer-to-member-virtual-function" );
128+ CheckFactories.registerCheck <ConflictingGlobalAccesses>(
129+ " bugprone-conflicting-global-accesses" );
127130 CheckFactories.registerCheck <CopyConstructorInitCheck>(
128131 " bugprone-copy-constructor-init" );
129132 CheckFactories.registerCheck <DanglingHandleCheck>(
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ add_clang_library(clangTidyBugproneModule STATIC
1515 CastingThroughVoidCheck.cpp
1616 ChainedComparisonCheck.cpp
1717 ComparePointerToMemberVirtualFunctionCheck.cpp
18+ ConflictingGlobalAccesses.cpp
1819 CopyConstructorInitCheck.cpp
1920 CrtpConstructorAccessibilityCheck.cpp
2021 DanglingHandleCheck.cpp
You can’t perform that action at this time.
0 commit comments