diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2021-01-22 15:38:05 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2021-01-27 13:45:45 (GMT) |
commit | cdfc4e31953274be9b745614b4b7620d365a7b5e (patch) | |
tree | d730ed1a5258286efbd83ac84e4a24f075bfa2aa /Source/cmCommandArgumentParserHelper.cxx | |
parent | 808b17b1206dd70c7fbd676e8c24181cde537954 (diff) | |
download | CMake-cdfc4e31953274be9b745614b4b7620d365a7b5e.zip CMake-cdfc4e31953274be9b745614b4b7620d365a7b5e.tar.gz CMake-cdfc4e31953274be9b745614b4b7620d365a7b5e.tar.bz2 |
clang-tidy: fix `readability-qualified-auto` warnings
Diffstat (limited to 'Source/cmCommandArgumentParserHelper.cxx')
-rw-r--r-- | Source/cmCommandArgumentParserHelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCommandArgumentParserHelper.cxx b/Source/cmCommandArgumentParserHelper.cxx index 6d5e064..deddba8 100644 --- a/Source/cmCommandArgumentParserHelper.cxx +++ b/Source/cmCommandArgumentParserHelper.cxx @@ -228,7 +228,7 @@ int cmCommandArgumentParserHelper::ParseString(std::string const& str, yyscan_t yyscanner; cmCommandArgument_yylex_init(&yyscanner); - auto scanBuf = cmCommandArgument_yy_scan_string(str.c_str(), yyscanner); + auto* scanBuf = cmCommandArgument_yy_scan_string(str.c_str(), yyscanner); cmCommandArgument_yyset_extra(this, yyscanner); cmCommandArgument_SetupEscapes(yyscanner, this->NoEscapeMode); int res = cmCommandArgument_yyparse(yyscanner); |