summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2021-01-22 15:38:05 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2021-01-27 13:45:45 (GMT)
commitcdfc4e31953274be9b745614b4b7620d365a7b5e (patch)
treed730ed1a5258286efbd83ac84e4a24f075bfa2aa /Source/cmMakefile.cxx
parent808b17b1206dd70c7fbd676e8c24181cde537954 (diff)
downloadCMake-cdfc4e31953274be9b745614b4b7620d365a7b5e.zip
CMake-cdfc4e31953274be9b745614b4b7620d365a7b5e.tar.gz
CMake-cdfc4e31953274be9b745614b4b7620d365a7b5e.tar.bz2
clang-tidy: fix `readability-qualified-auto` warnings
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index cea20ad..0fc8fa3 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -1824,7 +1824,7 @@ void cmMakefile::AddSubDirectory(const std::string& srcPath,
auto subMfu =
cm::make_unique<cmMakefile>(this->GlobalGenerator, newSnapshot);
- auto subMf = subMfu.get();
+ auto* subMf = subMfu.get();
this->GetGlobalGenerator()->AddMakefile(std::move(subMfu));
if (excludeFromAll) {
@@ -3370,7 +3370,7 @@ cmSourceFile* cmMakefile::GetSource(const std::string& sourceName,
#endif
auto sfsi = this->SourceFileSearchIndex.find(name);
if (sfsi != this->SourceFileSearchIndex.end()) {
- for (auto sf : sfsi->second) {
+ for (auto* sf : sfsi->second) {
if (sf->Matches(sfl)) {
return sf;
}