Merge topic 'stl-support'

8d4a9ee398 Refactoring: rename "cm_static_string_view.hxx" as <cmext/string_view>

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4689
This commit is contained in:
Brad King
2020-05-01 12:26:45 +00:00
committed by Kitware Robot
38 changed files with 43 additions and 66 deletions
-1
View File
@@ -698,7 +698,6 @@ set(SRCS
cmWriteFileCommand.cxx
cmWriteFileCommand.h
cm_static_string_view.hxx
cm_get_date.h
cm_get_date.c
cm_utf8.h
+1 -1
View File
@@ -5,7 +5,7 @@
#include <cstring>
#include <sstream>
#include "cm_static_string_view.hxx"
#include <cmext/string_view>
#include "cmCTest.h"
#include "cmCTestBuildHandler.h"
+1 -1
View File
@@ -6,7 +6,7 @@
#include <sstream>
#include <vector>
#include "cm_static_string_view.hxx"
#include <cmext/string_view>
#include "cmCTest.h"
#include "cmCTestConfigureHandler.h"
+1 -2
View File
@@ -5,8 +5,7 @@
#include <set>
#include <cmext/algorithm>
#include "cm_static_string_view.hxx"
#include <cmext/string_view>
#include "cmCTest.h"
#include "cmCTestCoverageHandler.h"
+1 -1
View File
@@ -7,7 +7,7 @@
#include <cstring>
#include <sstream>
#include "cm_static_string_view.hxx"
#include <cmext/string_view>
#include "cmCTest.h"
#include "cmCTestGenericHandler.h"
+1 -1
View File
@@ -2,7 +2,7 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmCTestMemCheckCommand.h"
#include "cm_static_string_view.hxx"
#include <cmext/string_view>
#include "cmCTest.h"
#include "cmCTestMemCheckHandler.h"
+1 -2
View File
@@ -9,8 +9,7 @@
#include <cm/memory>
#include <cm/vector>
#include <cmext/algorithm>
#include "cm_static_string_view.hxx"
#include <cmext/string_view>
#include "cmCTest.h"
#include "cmCTestSubmitHandler.h"
+1 -1
View File
@@ -6,7 +6,7 @@
#include <cstdlib>
#include <sstream>
#include "cm_static_string_view.hxx"
#include <cmext/string_view>
#include "cmCTest.h"
#include "cmCTestGenericHandler.h"
+1 -1
View File
@@ -20,13 +20,13 @@
#include <cm/memory>
#include <cm/string_view>
#include <cmext/algorithm>
#include <cmext/string_view>
#include "cmsys/FStream.hxx"
#include <cmsys/Base64.h>
#include <cmsys/Directory.hxx>
#include <cmsys/RegularExpression.hxx>
#include "cm_static_string_view.hxx"
#include "cm_utf8.h"
#include "cmCTest.h"
+1 -2
View File
@@ -6,8 +6,7 @@
#include <sstream>
#include <cm/vector>
#include "cm_static_string_view.hxx"
#include <cmext/string_view>
#include "cmCTest.h"
#include "cmCTestUploadHandler.h"
+1 -2
View File
@@ -12,8 +12,7 @@
#include <vector>
#include <cm/string_view>
#include "cm_static_string_view.hxx"
#include <cmext/string_view>
namespace ArgumentParser {
+1 -2
View File
@@ -19,6 +19,7 @@
#include <cm/memory>
#include <cm/string_view>
#include <cmext/algorithm>
#include <cmext/string_view>
#include "cmsys/Base64.h"
#include "cmsys/Directory.hxx"
@@ -36,8 +37,6 @@
# include <unistd.h> // IWYU pragma: keep
#endif
#include "cm_static_string_view.hxx"
#include "cmCTestBuildAndTestHandler.h"
#include "cmCTestBuildHandler.h"
#include "cmCTestConfigureHandler.h"
+1 -2
View File
@@ -5,8 +5,7 @@
#include <set>
#include <cm/string_view>
#include "cm_static_string_view.hxx"
#include <cmext/string_view>
#include "cmExecutionStatus.h"
#include "cmMakefile.h"
+2 -2
View File
@@ -8,9 +8,9 @@
#include <sstream>
#include <utility>
#include "cmsys/Directory.hxx"
#include <cmext/string_view>
#include "cm_static_string_view.hxx"
#include "cmsys/Directory.hxx"
#include "cmExportTryCompileFileGenerator.h"
#include "cmGlobalGenerator.h"
+1 -2
View File
@@ -10,11 +10,10 @@
#include <vector>
#include <cmext/algorithm>
#include <cmext/string_view>
#include "cmsys/Process.h"
#include "cm_static_string_view.hxx"
#include "cmArgumentParser.h"
#include "cmExecutionStatus.h"
#include "cmMakefile.h"
+1 -2
View File
@@ -8,11 +8,10 @@
#include <cm/memory>
#include <cmext/algorithm>
#include <cmext/string_view>
#include "cmsys/RegularExpression.hxx"
#include "cm_static_string_view.hxx"
#include "cmArgumentParser.h"
#include "cmExecutionStatus.h"
#include "cmExportBuildAndroidMKGenerator.h"
+1 -1
View File
@@ -17,13 +17,13 @@
#include <cm/memory>
#include <cmext/algorithm>
#include <cmext/string_view>
#include "cmsys/FStream.hxx"
#include "cmsys/Glob.hxx"
#include "cmsys/RegularExpression.hxx"
#include "cm_kwiml.h"
#include "cm_static_string_view.hxx"
#include "cm_sys_stat.h"
#include "cmAlgorithms.h"
+1 -2
View File
@@ -18,8 +18,7 @@
#include <cm/memory>
#include <cm/string_view>
#include "cm_static_string_view.hxx"
#include <cmext/string_view>
#include "cmExecutionStatus.h"
#include "cmFunctionBlocker.h"
+1 -2
View File
@@ -7,8 +7,7 @@
#include <cm/memory>
#include <cm/string_view>
#include <cmext/algorithm>
#include "cm_static_string_view.hxx"
#include <cmext/string_view>
#include "cmExecutionStatus.h"
#include "cmFunctionBlocker.h"
+1 -2
View File
@@ -7,8 +7,7 @@
#include <utility>
#include <cm/string_view>
#include "cm_static_string_view.hxx"
#include <cmext/string_view>
#include "cmGeneratorExpressionContext.h"
#include "cmGeneratorExpressionEvaluator.h"
+1 -2
View File
@@ -17,12 +17,11 @@
#include <cm/string_view>
#include <cm/vector>
#include <cmext/algorithm>
#include <cmext/string_view>
#include "cmsys/RegularExpression.hxx"
#include "cmsys/String.h"
#include "cm_static_string_view.hxx"
#include "cmAlgorithms.h"
#include "cmGeneratorExpression.h"
#include "cmGeneratorExpressionContext.h"
+1 -2
View File
@@ -18,11 +18,10 @@
#include <cm/memory>
#include <cm/string_view>
#include <cmext/algorithm>
#include <cmext/string_view>
#include "cmsys/RegularExpression.hxx"
#include "cm_static_string_view.hxx"
#include "cmAlgorithms.h"
#include "cmComputeLinkInformation.h"
#include "cmCustomCommand.h"
+1 -2
View File
@@ -7,8 +7,7 @@
#include <cm/memory>
#include <cm/string_view>
#include "cm_static_string_view.hxx"
#include <cmext/string_view>
#include "cmConditionEvaluator.h"
#include "cmExecutionStatus.h"
+1 -2
View File
@@ -8,11 +8,10 @@
#include <utility>
#include <cm/memory>
#include <cmext/string_view>
#include "cmsys/Glob.hxx"
#include "cm_static_string_view.hxx"
#include "cmArgumentParser.h"
#include "cmExecutionStatus.h"
#include "cmExportSet.h"
+1 -1
View File
@@ -4,7 +4,7 @@
#include <utility>
#include "cm_static_string_view.hxx"
#include <cmext/string_view>
#include "cmRange.h"
#include "cmSystemTools.h"
+1 -2
View File
@@ -17,11 +17,10 @@
#include <cm/memory>
#include <cmext/algorithm>
#include <cmext/string_view>
#include "cmsys/RegularExpression.hxx"
#include "cm_static_string_view.hxx"
#include "cmAlgorithms.h"
#include "cmExecutionStatus.h"
#include "cmGeneratorExpression.h"
+1 -2
View File
@@ -8,8 +8,7 @@
#include <cm/memory>
#include <cm/string_view>
#include <cmext/algorithm>
#include "cm_static_string_view.hxx"
#include <cmext/string_view>
#include "cmExecutionStatus.h"
#include "cmFunctionBlocker.h"
+1 -1
View File
@@ -18,13 +18,13 @@
#include <cm/optional>
#include <cm/vector>
#include <cmext/algorithm>
#include <cmext/string_view>
#include "cmsys/FStream.hxx"
#include "cmsys/RegularExpression.hxx"
#include "cm_jsoncpp_value.h"
#include "cm_jsoncpp_writer.h"
#include "cm_static_string_view.hxx"
#include "cm_sys_stat.h"
#include "cmCommandArgumentParserHelper.h"
+1 -2
View File
@@ -6,8 +6,7 @@
#include <utility>
#include <cm/string_view>
#include "cm_static_string_view.hxx"
#include <cmext/string_view>
#include "cmExecutionStatus.h"
#include "cmMakefile.h"
+1 -2
View File
@@ -16,8 +16,7 @@
#include <utility>
#include <cm/string_view>
#include "cm_static_string_view.hxx"
#include <cmext/string_view>
namespace cm {
+1 -2
View File
@@ -11,11 +11,10 @@
#include <memory>
#include <cm/iterator>
#include <cmext/string_view>
#include "cmsys/RegularExpression.hxx"
#include "cm_static_string_view.hxx"
#include "cmCryptoHash.h"
#include "cmExecutionStatus.h"
#include "cmGeneratorExpression.h"
+1 -2
View File
@@ -11,8 +11,7 @@
#include <vector>
#include <cm/string_view>
#include "cm_static_string_view.hxx"
#include <cmext/string_view>
class cmExecutionStatus;
+1 -2
View File
@@ -7,8 +7,7 @@
#include <cm/memory>
#include <cm/string_view>
#include "cm_static_string_view.hxx"
#include <cmext/string_view>
#include "cmConditionEvaluator.h"
#include "cmExecutionStatus.h"
+1 -1
View File
@@ -19,12 +19,12 @@
#endif
#include <cmext/algorithm>
#include <cmext/string_view>
#include "cmsys/FStream.hxx"
#include "cmsys/Glob.hxx"
#include "cmsys/RegularExpression.hxx"
#include "cm_static_string_view.hxx"
#include "cm_sys_stat.h"
#include "cmCommands.h"
+1 -2
View File
@@ -7,8 +7,7 @@
#include <vector>
#include <cm/string_view>
#include "cm_static_string_view.hxx"
#include <cmext/string_view>
#include "cmArgumentParser.h"
+1 -2
View File
@@ -12,8 +12,7 @@
#include <utility>
#include <cm/string_view>
#include "cm_static_string_view.hxx"
#include <cmext/string_view>
#include "cmString.hxx"
+2 -1
View File
@@ -9,6 +9,7 @@ set(SRCS cm/bits/string_view.cxx
cm/optional
cm/shared_mutex
cm/string_view
cm/utility)
cm/utility
cmext/string_view)
add_library(cmstd STATIC ${SRCS})
@@ -1,9 +1,10 @@
// -*-c++-*-
// vim: set ft=cpp:
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
#ifndef cm_static_string_view_hxx
#define cm_static_string_view_hxx
#include "cmConfigure.h" // IWYU pragma: keep
#ifndef cmext_string_view
#define cmext_string_view
#include <cstddef>