Skip to content

Commit

Permalink
[clang-tidy][NFC] Fix readability-redundant-access-specifiers findings
Browse files Browse the repository at this point in the history
Fix issues found by clang-tidy in clang-tidy source directory.
  • Loading branch information
PiotrZSL committed Aug 27, 2023
1 parent 87c4113 commit 4b8accb
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion clang-tools-extra/clang-tidy/ClangTidyOptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,6 @@ class FileOptionsBaseProvider : public DefaultOptionsProvider {
ClangTidyOptions OverrideOptions,
ConfigFileHandlers ConfigHandlers);

protected:
void addRawFileOptions(llvm::StringRef AbsolutePath,
std::vector<OptionsSource> &CurOptions);

Expand Down
1 change: 0 additions & 1 deletion clang-tools-extra/clang-tidy/modernize/UseNullptrCheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,6 @@ class CastSequenceVisitor : public RecursiveASTVisitor<CastSequenceVisitor> {
llvm_unreachable("findContainingAncestor");
}

private:
SourceManager &SM;
ASTContext &Context;
ArrayRef<StringRef> NullMacros;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ class BracesAroundStatementsCheck : public ClangTidyCheck {
return TK_IgnoreUnlessSpelledInSource;
}

private:
std::set<const Stmt *> ForceBracesStmts;
const unsigned ShortStatementLines;
};
Expand Down

0 comments on commit 4b8accb

Please sign in to comment.