mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-16 05:26:58 +08:00
Refactoring: rename "cm_static_string_view.hxx" as <cmext/string_view>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include <cstring>
|
||||
#include <sstream>
|
||||
|
||||
#include "cm_static_string_view.hxx"
|
||||
#include <cmext/string_view>
|
||||
|
||||
#include "cmCTest.h"
|
||||
#include "cmCTestBuildHandler.h"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#include <sstream>
|
||||
#include <vector>
|
||||
|
||||
#include "cm_static_string_view.hxx"
|
||||
#include <cmext/string_view>
|
||||
|
||||
#include "cmCTest.h"
|
||||
#include "cmCTestConfigureHandler.h"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include <cstring>
|
||||
#include <sstream>
|
||||
|
||||
#include "cm_static_string_view.hxx"
|
||||
#include <cmext/string_view>
|
||||
|
||||
#include "cmCTest.h"
|
||||
#include "cmCTestGenericHandler.h"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#include <cstdlib>
|
||||
#include <sstream>
|
||||
|
||||
#include "cm_static_string_view.hxx"
|
||||
#include <cmext/string_view>
|
||||
|
||||
#include "cmCTest.h"
|
||||
#include "cmCTestGenericHandler.h"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include <cm/string_view>
|
||||
|
||||
#include "cm_static_string_view.hxx"
|
||||
#include <cmext/string_view>
|
||||
|
||||
namespace ArgumentParser {
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "cm_static_string_view.hxx"
|
||||
#include <cmext/string_view>
|
||||
|
||||
#include "cmRange.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -16,8 +16,7 @@
|
||||
#include <utility>
|
||||
|
||||
#include <cm/string_view>
|
||||
|
||||
#include "cm_static_string_view.hxx"
|
||||
#include <cmext/string_view>
|
||||
|
||||
namespace cm {
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include <cm/string_view>
|
||||
|
||||
#include "cm_static_string_view.hxx"
|
||||
#include <cmext/string_view>
|
||||
|
||||
class cmExecutionStatus;
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -7,8 +7,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include <cm/string_view>
|
||||
|
||||
#include "cm_static_string_view.hxx"
|
||||
#include <cmext/string_view>
|
||||
|
||||
#include "cmArgumentParser.h"
|
||||
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
#include <utility>
|
||||
|
||||
#include <cm/string_view>
|
||||
|
||||
#include "cm_static_string_view.hxx"
|
||||
#include <cmext/string_view>
|
||||
|
||||
#include "cmString.hxx"
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user