summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-10-18 21:16:02 (GMT)
committerBrad King <brad.king@kitware.com>2016-10-20 12:48:20 (GMT)
commiteffa6c8343fb871574cb5471de5eb4c1705dd334 (patch)
tree9349fd3223bf5d9369e80eace97ad04209c52bd1 /Source/cmGeneratorTarget.cxx
parentfb461cacba5afe98fd9871d4b8ab0500d825ad5a (diff)
downloadCMake-effa6c8343fb871574cb5471de5eb4c1705dd334.zip
CMake-effa6c8343fb871574cb5471de5eb4c1705dd334.tar.gz
CMake-effa6c8343fb871574cb5471de5eb4c1705dd334.tar.bz2
fix more issues reported by clang-tidy
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index b16cfc6..9fa23c0 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -400,7 +400,7 @@ const char* cmGeneratorTarget::GetProperty(const std::string& prop) const
if (!cmTargetPropertyComputer::PassesWhitelist(
this->GetType(), prop, this->Makefile->GetMessenger(),
this->GetBacktrace())) {
- return 0;
+ return CM_NULLPTR;
}
if (const char* result = cmTargetPropertyComputer::GetProperty(
this, prop, this->Makefile->GetMessenger(), this->GetBacktrace())) {