summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.h
diff options
context:
space:
mode:
authorCengizhan Pasaoglu <cengizhanpasaoglu@gmail.com>2020-10-17 23:00:29 (GMT)
committerCengizhan Pasaoglu <cengizhanpasaoglu@gmail.com>2020-10-19 21:04:04 (GMT)
commitbd705788f67741df88bf153825a5943b4b518818 (patch)
tree356596cc5ca5d3f2ad2de7954257903301143bd8 /Source/cmLocalGenerator.h
parentc05e561474c422d23b9f1d29ccb5ceea0037477b (diff)
downloadCMake-bd705788f67741df88bf153825a5943b4b518818.zip
CMake-bd705788f67741df88bf153825a5943b4b518818.tar.gz
CMake-bd705788f67741df88bf153825a5943b4b518818.tar.bz2
Constify some code as suggested by clang-tidy
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r--Source/cmLocalGenerator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h
index 162e70f..b8bd3bc 100644
--- a/Source/cmLocalGenerator.h
+++ b/Source/cmLocalGenerator.h
@@ -77,7 +77,7 @@ public:
/**
* Calls TraceVSDependencies() on all targets of this generator.
*/
- void TraceDependencies();
+ void TraceDependencies() const;
virtual void AddHelperCommands() {}
@@ -451,7 +451,7 @@ public:
const std::string& fname);
/** Construct a comment for a custom command. */
std::string ConstructComment(cmCustomCommandGenerator const& ccg,
- const char* default_comment = "");
+ const char* default_comment = "") const;
// Compute object file names.
std::string GetObjectFileNameWithoutTarget(
const cmSourceFile& source, std::string const& dir_max,