Skip to content

Commit 247da3c

Browse files
authored
[clang-tidy][NFC] Enable 'readability-redundant-declaration' check in clang-tidy config (llvm#156164)
Closes llvm#156163
1 parent 3aae4bd commit 247da3c

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

clang-tools-extra/clang-tidy/.clang-tidy

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ Checks: >
3232
-readability-magic-numbers,
3333
-readability-named-parameter,
3434
-readability-qualified-auto,
35-
-readability-redundant-declaration,
3635
-readability-simplify-boolean-expr,
3736
-readability-static-definition-in-anonymous-namespace,
3837
-readability-suspicious-call-argument,

clang-tools-extra/clang-tidy/readability/UppercaseLiteralSuffixCheck.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ struct IntegerLiteralCheck {
3030
static constexpr llvm::StringLiteral Suffixes =
3131
llvm::StringLiteral("uUlLiIjJ");
3232
};
33-
constexpr llvm::StringLiteral IntegerLiteralCheck::Name;
34-
constexpr llvm::StringLiteral IntegerLiteralCheck::SkipFirst;
35-
constexpr llvm::StringLiteral IntegerLiteralCheck::Suffixes;
3633

3734
struct FloatingLiteralCheck {
3835
using type = clang::FloatingLiteral;
@@ -50,9 +47,6 @@ struct FloatingLiteralCheck {
5047
static constexpr llvm::StringLiteral Suffixes =
5148
llvm::StringLiteral("fFlLhHqQiIjJ");
5249
};
53-
constexpr llvm::StringLiteral FloatingLiteralCheck::Name;
54-
constexpr llvm::StringLiteral FloatingLiteralCheck::SkipFirst;
55-
constexpr llvm::StringLiteral FloatingLiteralCheck::Suffixes;
5650

5751
struct NewSuffix {
5852
SourceRange LiteralLocation;

0 commit comments

Comments
 (0)