diff options
author | Brad King <brad.king@kitware.com> | 2021-01-27 14:52:09 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-01-27 14:52:18 (GMT) |
commit | 9b96fbc358aba8110ba09d3ad2262223ec0f0167 (patch) | |
tree | b2ae19bdd4f419ea55bae8bb90ba27107ba6148a /Tests | |
parent | a0e44fc16b252f5804bc2bb3f0bab089109264e4 (diff) | |
parent | ef935b17ab47739b1e81e9c6baf6112b7a20f9cb (diff) | |
download | CMake-9b96fbc358aba8110ba09d3ad2262223ec0f0167.zip CMake-9b96fbc358aba8110ba09d3ad2262223ec0f0167.tar.gz CMake-9b96fbc358aba8110ba09d3ad2262223ec0f0167.tar.bz2 |
Merge topic 'clang-tidy-fixes'
ef935b17ab clang-tidy: fix `readability-use-anyofallof` warnings
9ac8dbbb94 clang-tidy: fix `readability-simplify-boolean-expr` warnings
ca505718f4 clang-tidy: fix `readability-redundant-string-init` warnings
b3b6ede6a1 clang-tidy: fix `readability-redundant-access-specifiers` warnings
cdfc4e3195 clang-tidy: fix `readability-qualified-auto` warnings
808b17b120 clang-tidy: fix `readability-make-member-function-const` warnings
4470eb5179 clang-tidy: fix `performance-trivially-destructible` warnings
4f396e6528 clang-tidy: fix `performance-no-automatic-move` warnings
...
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5731
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/CMakeLib/run_compile_commands.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeLib/run_compile_commands.cxx b/Tests/CMakeLib/run_compile_commands.cxx index 0fd6cfb..0ebe00e 100644 --- a/Tests/CMakeLib/run_compile_commands.cxx +++ b/Tests/CMakeLib/run_compile_commands.cxx @@ -127,7 +127,7 @@ private: exit(1); } - bool IsWhitespace() + bool IsWhitespace() const { return (this->C == ' ' || this->C == '\t' || this->C == '\n' || this->C == '\r'); |