summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-11-24 16:44:57 (GMT)
committerBrad King <brad.king@kitware.com>2015-11-25 00:38:31 (GMT)
commit8e1be7bf688dc282408aa0403e9896fa5a142ec4 (patch)
treebec53603251ceb560d357a8753f6afd8f7e09bb2 /Source/cmMakefile.h
parent62126b67e0048800a833d3c4ea86d2307f1a4a06 (diff)
downloadCMake-8e1be7bf688dc282408aa0403e9896fa5a142ec4.zip
CMake-8e1be7bf688dc282408aa0403e9896fa5a142ec4.tar.gz
CMake-8e1be7bf688dc282408aa0403e9896fa5a142ec4.tar.bz2
cmMakefile: Clarify purpose of method that pops a scope snapshot
The `PopPolicyBarrier` method is actually responsible for closing any scope opened by creating a snapshot. Rename it to `PopSnapshot` and add a comment explaining the purpose of the poilcy-scope-specific part of the method.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 111f074..a112d57 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -904,7 +904,7 @@ private:
void PushPolicy(bool weak = false,
cmPolicies::PolicyMap const& pm = cmPolicies::PolicyMap());
void PopPolicy();
- void PopPolicyBarrier(bool reportError = true);
+ void PopSnapshot(bool reportError = true);
friend class cmCMakePolicyCommand;
class IncludeScope;
friend class IncludeScope;