From 385b069eb22995d448579d7dd3c6445d796186f9 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Thu, 2 Apr 2020 21:18:10 -0700 Subject: [PATCH] [clang-tidy] remove pointless public Found with readability-redundant-access-specifiers Signed-off-by: Rosen Penev --- .clang-tidy | 2 +- src/complete.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.clang-tidy b/.clang-tidy index 0904397f2..77ec281dc 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,5 +1,5 @@ --- -Checks: 'clang-diagnostic-*,clang-analyzer-*,cert-*,performance-*,portability-*,modernize-use-auto,modernize-loop-convert,modernize-use-bool-literals,modernize-use-using,hicpp-uppercase-literal-suffix,readability-make-member-function-const,readability-redundant-string-init,readability-inconsistent-declaration-parameter-name' +Checks: 'clang-diagnostic-*,clang-analyzer-*,cert-*,performance-*,portability-*,modernize-use-auto,modernize-loop-convert,modernize-use-bool-literals,modernize-use-using,hicpp-uppercase-literal-suffix,readability-make-member-function-const,readability-redundant-string-init,readability-inconsistent-declaration-parameter-name,readability-redundant-access-specifiers' WarningsAsErrors: '' HeaderFilterRegex: '' AnalyzeTemporaryDtors: false diff --git a/src/complete.cpp b/src/complete.cpp index b65ea3455..1b7c1288a 100644 --- a/src/complete.cpp +++ b/src/complete.cpp @@ -131,7 +131,6 @@ class completion_entry_t { /// List of all options. option_list_t options; - public: /// Command string. const wcstring cmd; /// True if command is a path.