[Cmake-commits] CMake branch, next, updated. v3.2.2-2134-g852da24

Stephen Kelly steveire at gmail.com
Sun Apr 26 13:15:08 EDT 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  852da24c1c77e54a8ae95dcc264461f94a314f3a (commit)
       via  7f64593be364cbdd7f13ae8caeed0041b8cdbfe7 (commit)
      from  2957cd5ced0996b845a7756443c22d36f432d169 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=852da24c1c77e54a8ae95dcc264461f94a314f3a
commit 852da24c1c77e54a8ae95dcc264461f94a314f3a
Merge: 2957cd5 7f64593
Author:     Stephen Kelly <steveire at gmail.com>
AuthorDate: Sun Apr 26 13:15:08 2015 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Sun Apr 26 13:15:08 2015 -0400

    Merge topic 'refactor-cmDefinitions' into next
    
    7f64593b Cleanups.


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7f64593be364cbdd7f13ae8caeed0041b8cdbfe7
commit 7f64593be364cbdd7f13ae8caeed0041b8cdbfe7
Author:     Stephen Kelly <steveire at gmail.com>
AuthorDate: Sun Apr 26 19:14:10 2015 +0200
Commit:     Stephen Kelly <steveire at gmail.com>
CommitDate: Sun Apr 26 19:14:10 2015 +0200

    Cleanups.

diff --git a/Source/cmDefinitions.h b/Source/cmDefinitions.h
index 8ac310a..6c57c36 100644
--- a/Source/cmDefinitions.h
+++ b/Source/cmDefinitions.h
@@ -21,14 +21,11 @@
  * \brief Store a scope of variable definitions for CMake language.
  *
  * This stores the state of variable definitions (set or unset) for
- * one scope.  Sets are always local.  Gets search parent scopes
- * transitively and save results locally.
+ * one scope.  Sets are always local.
  */
 class cmDefinitions
 {
 public:
-  /** Get the value associated with a key; null if none.
-      Store the result locally if it came from a parent.  */
   std::pair<const char*, bool> Get(const std::string& key);
 
   /** Set (or unset if null) a value associated with a key.  */
@@ -39,10 +36,6 @@ public:
   /** Get the set of all local keys.  */
   std::vector<std::string> LocalKeys() const;
 
-  /** Compute the closure of all defined keys with values.
-      This flattens the scope.  The result has no parent.  */
-  cmDefinitions Closure() const;
-
   std::vector<std::string>
   Keys(std::vector<std::string>& undefinedKeys) const;
 

-----------------------------------------------------------------------

Summary of changes:
 Source/cmDefinitions.h |    9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list