[Cmake-commits] CMake branch, next, updated. v3.7.1-1687-g3ab7ed3

Daniel Pfeifer daniel at pfeifer-mail.de
Sat Dec 10 12:37:43 EST 2016


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  3ab7ed32396004ac7534e466657bbfb7f95b8a76 (commit)
       via  ded57be08ac19c9e8c06796d9da6c5386cb16de7 (commit)
      from  977cfef6f69e51639b9d7206667adff4b1154095 (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 -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3ab7ed32396004ac7534e466657bbfb7f95b8a76
commit 3ab7ed32396004ac7534e466657bbfb7f95b8a76
Merge: 977cfef ded57be
Author:     Daniel Pfeifer <daniel at pfeifer-mail.de>
AuthorDate: Sat Dec 10 12:37:43 2016 -0500
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Sat Dec 10 12:37:43 2016 -0500

    Merge topic 'clang-tidy' into next
    
    ded57be0 fixup! clang-tidy: apply readability-static-definition-in-anonymous-namespace


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ded57be08ac19c9e8c06796d9da6c5386cb16de7
commit ded57be08ac19c9e8c06796d9da6c5386cb16de7
Author:     Daniel Pfeifer <daniel at pfeifer-mail.de>
AuthorDate: Sat Dec 10 18:37:28 2016 +0100
Commit:     Daniel Pfeifer <daniel at pfeifer-mail.de>
CommitDate: Sat Dec 10 18:37:28 2016 +0100

    fixup! clang-tidy: apply readability-static-definition-in-anonymous-namespace

diff --git a/Source/cmServerProtocol.cxx b/Source/cmServerProtocol.cxx
index c08a36b..f47cb33 100644
--- a/Source/cmServerProtocol.cxx
+++ b/Source/cmServerProtocol.cxx
@@ -32,7 +32,7 @@
 
 namespace {
 
-static std::vector<std::string> getConfigurations(const cmake* cm)
+std::vector<std::string> getConfigurations(const cmake* cm)
 {
   std::vector<std::string> configurations;
   auto makefiles = cm->GetGlobalGenerator()->GetMakefiles();
@@ -47,7 +47,7 @@ static std::vector<std::string> getConfigurations(const cmake* cm)
   return configurations;
 }
 
-static bool hasString(const Json::Value& v, const std::string& s)
+bool hasString(const Json::Value& v, const std::string& s)
 {
   return !v.isNull() &&
     std::find_if(v.begin(), v.end(), [s](const Json::Value& i) {
@@ -56,7 +56,7 @@ static bool hasString(const Json::Value& v, const std::string& s)
 }
 
 template <class T>
-static Json::Value fromStringList(const T& in)
+Json::Value fromStringList(const T& in)
 {
   Json::Value result = Json::arrayValue;
   for (const std::string& i : in) {
@@ -65,7 +65,7 @@ static Json::Value fromStringList(const T& in)
   return result;
 }
 
-static std::vector<std::string> toStringList(const Json::Value& in)
+std::vector<std::string> toStringList(const Json::Value& in)
 {
   std::vector<std::string> result;
   for (const auto& it : in) {
@@ -74,12 +74,11 @@ static std::vector<std::string> toStringList(const Json::Value& in)
   return result;
 }
 
-static void getCMakeInputs(const cmGlobalGenerator* gg,
-                           const std::string& sourceDir,
-                           const std::string& buildDir,
-                           std::vector<std::string>* internalFiles,
-                           std::vector<std::string>* explicitFiles,
-                           std::vector<std::string>* tmpFiles)
+void getCMakeInputs(const cmGlobalGenerator* gg, const std::string& sourceDir,
+                    const std::string& buildDir,
+                    std::vector<std::string>* internalFiles,
+                    std::vector<std::string>* explicitFiles,
+                    std::vector<std::string>* tmpFiles)
 {
   const std::string cmakeRootDir = cmSystemTools::GetCMakeRoot() + '/';
   std::vector<cmMakefile*> const& makefiles = gg->GetMakefiles();

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

Summary of changes:
 Source/cmServerProtocol.cxx |   19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list