summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-08-19 19:54:49 (GMT)
committerRegina Pfeifer <regina@mailbox.org>2019-08-20 22:20:49 (GMT)
commitd331021255ba9092fa34e8e479d724b1092c704d (patch)
tree38158432b3bd50418635201d95ff0575b4e7ac78 /Source/cmLocalGenerator.cxx
parent43fe736b2bf272647fb24b481bdc9a585c0666ac (diff)
downloadCMake-d331021255ba9092fa34e8e479d724b1092c704d.zip
CMake-d331021255ba9092fa34e8e479d724b1092c704d.tar.gz
CMake-d331021255ba9092fa34e8e479d724b1092c704d.tar.bz2
clang-tidy: isolate declarations for readability
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 159791e..a02762e 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -1036,8 +1036,8 @@ std::vector<BT<std::string>> cmLocalGenerator::GetIncludeDirectoriesImplicit(
// Support putting all the in-project include directories first if
// it is requested by the project.
if (this->Makefile->IsOn("CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE")) {
- std::string const &topSourceDir = this->GetState()->GetSourceDirectory(),
- &topBinaryDir = this->GetState()->GetBinaryDirectory();
+ std::string const& topSourceDir = this->GetState()->GetSourceDirectory();
+ std::string const& topBinaryDir = this->GetState()->GetBinaryDirectory();
for (BT<std::string> const& udr : userDirs) {
// Emit this directory only if it is a subdirectory of the
// top-level source or binary tree.