summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorAlexander Grund <Flamefire@users.noreply.github.com>2021-07-06 14:11:42 (GMT)
committerBrad King <brad.king@kitware.com>2021-07-07 12:04:29 (GMT)
commit10969fd003919ba32072ead5d134e024bd37f228 (patch)
tree90c39ff8598825a2c0755554568d7b5810d3688d /Source/cmLocalGenerator.cxx
parent3fd56472c6b6a78ba47cea0905a1694a7e6cec38 (diff)
downloadCMake-10969fd003919ba32072ead5d134e024bd37f228.zip
CMake-10969fd003919ba32072ead5d134e024bd37f228.tar.gz
CMake-10969fd003919ba32072ead5d134e024bd37f228.tar.bz2
cmLocalGenerator: Remove unnecessary parentheses in a condition
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 051b15a..5fbff6c 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -1253,15 +1253,15 @@ std::vector<BT<std::string>> cmLocalGenerator::GetIncludeDirectoriesImplicit(
auto notExcluded = [this, &implicitSet, &implicitExclude,
isCorCxx](std::string const& dir) -> bool {
std::string const& real_dir = this->GlobalGenerator->GetRealPath(dir);
- return (
+ return
// Do not exclude directories that are not in an excluded set.
- ((!cm::contains(implicitSet, real_dir)) &&
- (!cm::contains(implicitExclude, dir)))
+ (!cm::contains(implicitSet, real_dir) &&
+ !cm::contains(implicitExclude, dir))
// Do not exclude entries of the CPATH environment variable even though
// they are implicitly searched by the compiler. They are meant to be
// user-specified directories that can be re-ordered or converted to
// -isystem without breaking real compiler builtin headers.
- || (isCorCxx && cm::contains(this->EnvCPATH, dir)));
+ || (isCorCxx && cm::contains(this->EnvCPATH, dir));
};
// Get the target-specific include directories.