Skip to content

Commit d6c9dc3

Browse files
author
Adam Balogh
committed
[clang-tidy] Remove obsolete checker google-runtime-references
The rules which is the base of this checker is removed from the //Google C++ Style Guide// in May: [[ google/styleguide#553 | Update C++ styleguide ]]. Now this checker became obsolete. Differential Revision: https://reviews.llvm.org/D88831
1 parent 315970d commit d6c9dc3

File tree

7 files changed

+3
-365
lines changed

7 files changed

+3
-365
lines changed

clang-tools-extra/clang-tidy/google/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ add_clang_library(clangTidyGoogleModule
1616
GlobalVariableDeclarationCheck.cpp
1717
GoogleTidyModule.cpp
1818
IntegerTypesCheck.cpp
19-
NonConstReferences.cpp
2019
OverloadedUnaryAndCheck.cpp
2120
TodoCommentCheck.cpp
2221
UnnamedNamespaceInHeaderCheck.cpp

clang-tools-extra/clang-tidy/google/GoogleTidyModule.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
#include "GlobalNamesInHeadersCheck.h"
2424
#include "GlobalVariableDeclarationCheck.h"
2525
#include "IntegerTypesCheck.h"
26-
#include "NonConstReferences.h"
2726
#include "OverloadedUnaryAndCheck.h"
2827
#include "TodoCommentCheck.h"
2928
#include "UnnamedNamespaceInHeaderCheck.h"
@@ -63,8 +62,6 @@ class GoogleModule : public ClangTidyModule {
6362
"google-runtime-int");
6463
CheckFactories.registerCheck<runtime::OverloadedUnaryAndCheck>(
6564
"google-runtime-operator");
66-
CheckFactories.registerCheck<runtime::NonConstReferences>(
67-
"google-runtime-references");
6865
CheckFactories
6966
.registerCheck<readability::AvoidUnderscoreInGoogletestNameCheck>(
7067
"google-readability-avoid-underscore-in-googletest-name");

clang-tools-extra/clang-tidy/google/NonConstReferences.cpp

Lines changed: 0 additions & 148 deletions
This file was deleted.

clang-tools-extra/clang-tidy/google/NonConstReferences.h

Lines changed: 0 additions & 41 deletions
This file was deleted.

clang-tools-extra/docs/ReleaseNotes.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ Changes in existing checks
120120
Added an option `GetConfigPerFile` to support including files which use
121121
different naming styles.
122122

123+
- Removed `google-runtime-references` check because the rule it checks does
124+
not exist in the Google Style Guide anymore.
125+
123126
Improvements to include-fixer
124127
-----------------------------
125128

clang-tools-extra/docs/clang-tidy/checks/google-runtime-references.rst

Lines changed: 0 additions & 17 deletions
This file was deleted.

clang-tools-extra/test/clang-tidy/checkers/google-runtime-references.cpp

Lines changed: 0 additions & 155 deletions
This file was deleted.

0 commit comments

Comments
 (0)