summaryrefslogtreecommitdiffstats
path: root/Source/cmOutputRequiredFilesCommand.cxx
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2018-11-21 22:17:54 (GMT)
committerRegina Pfeifer <regina@mailbox.org>2018-12-15 09:52:37 (GMT)
commitb2aa3aedeab09ad7b2c95353d2d3c3d867bcec53 (patch)
tree44678a6866dac777b571e84aed52d62d286654cf /Source/cmOutputRequiredFilesCommand.cxx
parent32cb564bea57af007d03fa31d80a0177057fc901 (diff)
downloadCMake-b2aa3aedeab09ad7b2c95353d2d3c3d867bcec53.zip
CMake-b2aa3aedeab09ad7b2c95353d2d3c3d867bcec53.tar.gz
CMake-b2aa3aedeab09ad7b2c95353d2d3c3d867bcec53.tar.bz2
clang-tidy: Use default member initialization
Diffstat (limited to 'Source/cmOutputRequiredFilesCommand.cxx')
-rw-r--r--Source/cmOutputRequiredFilesCommand.cxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/Source/cmOutputRequiredFilesCommand.cxx b/Source/cmOutputRequiredFilesCommand.cxx
index 87c1ec0..ab1e699 100644
--- a/Source/cmOutputRequiredFilesCommand.cxx
+++ b/Source/cmOutputRequiredFilesCommand.cxx
@@ -28,11 +28,7 @@ public:
* Construct with dependency generation marked not done; instance
* not placed in cmMakefile's list.
*/
- cmDependInformation()
- : DependDone(false)
- , SourceFile(nullptr)
- {
- }
+ cmDependInformation() {}
/**
* The set of files on which this one depends.
@@ -44,13 +40,13 @@ public:
* This flag indicates whether dependency checking has been
* performed for this file.
*/
- bool DependDone;
+ bool DependDone = false;
/**
* If this object corresponds to a cmSourceFile instance, this points
* to it.
*/
- const cmSourceFile* SourceFile;
+ const cmSourceFile* SourceFile = nullptr;
/**
* Full path to this file.