From effa6c8343fb871574cb5471de5eb4c1705dd334 Mon Sep 17 00:00:00 2001 From: Daniel Pfeifer Date: Tue, 18 Oct 2016 23:16:02 +0200 Subject: fix more issues reported by clang-tidy --- Source/cmTargetPropertyComputer.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/cmTargetPropertyComputer.h') diff --git a/Source/cmTargetPropertyComputer.h b/Source/cmTargetPropertyComputer.h index ed9a4e272f..1f7150aede 100644 --- a/Source/cmTargetPropertyComputer.h +++ b/Source/cmTargetPropertyComputer.h @@ -75,7 +75,7 @@ private: } // Support "LOCATION_". - else if (cmHasLiteralPrefix(prop, "LOCATION_")) { + if (cmHasLiteralPrefix(prop, "LOCATION_")) { if (!tgt->IsImported() && !HandleLocationPropertyPolicy(tgt->GetName(), messenger, context)) { @@ -86,8 +86,8 @@ private: } // Support "_LOCATION". - else if (cmHasLiteralSuffix(prop, "_LOCATION") && - !cmHasLiteralPrefix(prop, "XCODE_ATTRIBUTE_")) { + if (cmHasLiteralSuffix(prop, "_LOCATION") && + !cmHasLiteralPrefix(prop, "XCODE_ATTRIBUTE_")) { std::string configName(prop.c_str(), prop.size() - 9); if (configName != "IMPORTED") { if (!tgt->IsImported() && -- cgit v1.2.1