summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-10-20 12:51:09 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-10-20 12:51:09 (GMT)
commita5f4463eedc31f6f552b7f7837212661349898df (patch)
tree201aa79bedda91071ee8710d1b2b3f69f3e19047 /Source/cmGeneratorTarget.cxx
parent92c3cab223845ca83533bba7b6d73f6180223935 (diff)
parenteffa6c8343fb871574cb5471de5eb4c1705dd334 (diff)
downloadCMake-a5f4463eedc31f6f552b7f7837212661349898df.zip
CMake-a5f4463eedc31f6f552b7f7837212661349898df.tar.gz
CMake-a5f4463eedc31f6f552b7f7837212661349898df.tar.bz2
Merge topic 'clang-tidy'
effa6c83 fix more issues reported by clang-tidy fb461cac silence selected clang-tidy violations
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 7dae226..8ac302a 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -401,7 +401,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())) {