summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.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/cmGeneratorTarget.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/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index 17d211e..092fd5a 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -4051,7 +4051,7 @@ std::string cmGeneratorTarget::GetPchFileObject(const std::string& config,
}
std::string& filename = inserted.first->second;
- auto pchSf = this->Makefile->GetOrCreateSource(
+ auto* pchSf = this->Makefile->GetOrCreateSource(
pchSource, false, cmSourceFileLocationKind::Known);
filename = cmStrCat(this->ObjectDirectory, this->GetObjectName(pchSf));
@@ -7360,7 +7360,7 @@ void cmGeneratorTarget::ComputeLinkImplementationLibraries(
std::string name = this->CheckCMP0004(lib);
if (this->GetPolicyStatusCMP0108() == cmPolicies::NEW) {
// resolve alias name
- auto target = this->Makefile->FindTargetToUse(name);
+ auto* target = this->Makefile->FindTargetToUse(name);
if (target) {
name = target->GetName();
}