summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2022-11-22 18:51:48 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2022-11-29 17:39:29 (GMT)
commit1b929ba8e41b49ab9c30c095bf9585b3ab85656b (patch)
tree36e141a00880df62f0502d6b154e1708eb7afbc0 /Source/cmVisualStudio10TargetGenerator.cxx
parentbcada09e451b4765ec1239ad11a282ed3ccbc71b (diff)
downloadCMake-1b929ba8e41b49ab9c30c095bf9585b3ab85656b.zip
CMake-1b929ba8e41b49ab9c30c095bf9585b3ab85656b.tar.gz
CMake-1b929ba8e41b49ab9c30c095bf9585b3ab85656b.tar.bz2
clang-tidy: fix `modernize-use-nullptr` lints
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index 6a1966c..753a532 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -2675,7 +2675,7 @@ void cmVisualStudio10TargetGenerator::OutputSourceSpecificFlags(
? "C"
: this->GlobalGenerator->GetLanguageFromExtension(ext.c_str());
std::string lang = this->LocalGenerator->GetSourceFileLanguage(sf);
- const char* compileAs = 0;
+ const char* compileAs = nullptr;
if (lang != extLang) {
if (lang == "CXX") {
// force a C++ file type