clang-tidy: modernize-deprecated-headers

This commit is contained in:
Regina Pfeifer 2019-09-06 22:58:06 +02:00 committed by Brad King
parent 9602bcfc62
commit f30523d090
178 changed files with 289 additions and 290 deletions

View File

@ -11,7 +11,6 @@ misc-*,\
-misc-static-assert,\
modernize-*,\
-modernize-avoid-c-arrays,\
-modernize-deprecated-headers,\
-modernize-use-nodiscard,\
-modernize-use-noexcept,\
-modernize-use-transparent-functors,\

View File

@ -13,8 +13,8 @@
#include "cmXMLParser.h"
#include "cmXMLWriter.h"
#include <cstddef>
#include <sstream>
#include <stddef.h>
#include <utility>
cmCPackIFWInstaller::cmCPackIFWInstaller() = default;

View File

@ -13,9 +13,9 @@
#include "cmTimestamp.h"
#include "cmXMLWriter.h"
#include <cstddef>
#include <map>
#include <sstream>
#include <stddef.h>
#include <utility>
//---------------------------------------------------------- CompareStruct ---

View File

@ -8,7 +8,7 @@
#include "cmXMLParser.h"
#include "cmXMLWriter.h"
#include <stddef.h>
#include <cstddef>
cmCPackIFWRepository::cmCPackIFWRepository()
: Update(cmCPackIFWRepository::None)

View File

@ -3,8 +3,9 @@
#include "cmsys/FStream.hxx"
#include "cmsys/Process.h"
#include "cmsys/SystemTools.hxx"
#include <cstddef>
#include <iostream>
#include <stddef.h>
#include <string>
#include <vector>

View File

@ -13,10 +13,10 @@
#include "cm_sys_stat.h"
#include "cmsys/Glob.hxx"
#include <cstring>
#include <map>
#include <ostream>
#include <set>
#include <string.h>
#include <utility>
namespace {

View File

@ -12,9 +12,9 @@
#include "cmsys/FStream.hxx"
#include "cmsys/RegularExpression.hxx"
#include <algorithm>
#include <cstdlib>
#include <iomanip>
#include <map>
#include <stdlib.h>
#include <CoreFoundation/CoreFoundation.h>

View File

@ -14,10 +14,10 @@
#include "cmsys/Directory.hxx"
#include "cmsys/RegularExpression.hxx"
#include <algorithm>
#include <cstdlib>
#include <cstring>
#include <map>
#include <sstream>
#include <stdlib.h>
#include <string.h>
#include <utility>
/* NSIS uses different command line syntax on Windows and others */

View File

@ -4,11 +4,11 @@
#include "cmsys/FStream.hxx"
#include "cmsys/RegularExpression.hxx"
#include <assert.h>
#include <cassert>
#include <cstdio>
#include <cstdlib>
#include <map>
#include <sstream>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include "cmCPackComponentGroup.h"

View File

@ -2,9 +2,9 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmCPackProductBuildGenerator.h"
#include <cstddef>
#include <map>
#include <sstream>
#include <stddef.h>
#include "cmCPackComponentGroup.h"
#include "cmCPackLog.h"

View File

@ -3,7 +3,7 @@
#include "cmCPackRPMGenerator.h"
#include <algorithm>
#include <ctype.h>
#include <cctype>
#include <map>
#include <ostream>
#include <utility>

View File

@ -3,8 +3,8 @@
#include "cmCPackSTGZGenerator.h"
#include "cmsys/FStream.hxx"
#include <cstdio>
#include <sstream>
#include <stdio.h>
#include <string>
#include <vector>

View File

@ -22,10 +22,10 @@
# include "cmsys/ConsoleBuf.hxx"
#endif
#include <cstddef>
#include <iostream>
#include <map>
#include <sstream>
#include <stddef.h>
#include <string>
#include <utility>
#include <vector>

View File

@ -11,10 +11,10 @@
#include "cm_expat.h"
#include "cmsys/RegularExpression.hxx"
#include <cstdlib>
#include <list>
#include <map>
#include <ostream>
#include <stdlib.h>
#include <vector>
extern "C" int cmBZRXMLParserUnknownEncodingHandler(void* /*unused*/,

View File

@ -14,9 +14,9 @@
#include "cmsys/Process.h"
#include <chrono>
#include <cstdlib>
#include <cstring>
#include <ratio>
#include <stdlib.h>
cmCTestBuildAndTestHandler::cmCTestBuildAndTestHandler()
{

View File

@ -11,8 +11,8 @@
#include "cmSystemTools.h"
#include "cmake.h"
#include <cstring>
#include <sstream>
#include <string.h>
class cmExecutionStatus;

View File

@ -17,9 +17,9 @@
#include "cmsys/Directory.hxx"
#include "cmsys/FStream.hxx"
#include "cmsys/Process.h"
#include <cstdlib>
#include <cstring>
#include <set>
#include <stdlib.h>
#include <string.h>
#include <utility>
static const char* cmCTestErrorMatches[] = {

View File

@ -10,8 +10,8 @@
#include "cmSystemTools.h"
#include "cmake.h"
#include <cstring>
#include <sstream>
#include <string.h>
#include <vector>
cmCTestConfigureCommand::cmCTestConfigureCommand()

View File

@ -24,12 +24,12 @@
#include "cmsys/RegularExpression.hxx"
#include <algorithm>
#include <chrono>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iomanip>
#include <iterator>
#include <sstream>
#include <stdio.h>
#include <stdlib.h>
#include <utility>
class cmMakefile;

View File

@ -8,8 +8,8 @@
#include "cmStringAlgorithms.h"
#include "cmSystemTools.h"
#include <cstdio>
#include <ostream>
#include <stdio.h>
cmCTestCurl::cmCTestCurl(cmCTest* ctest)
{

View File

@ -4,10 +4,10 @@
#include "cmsys/FStream.hxx"
#include "cmsys/Process.h"
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <cctype>
#include <cstdio>
#include <cstdlib>
#include <ctime>
#include <vector>
#include "cmCTest.h"

View File

@ -10,9 +10,9 @@
#include "cmSystemTools.h"
#include "cmWorkingDirectory.h"
#include <cstdlib>
#include <cstring>
#include <sstream>
#include <stdlib.h>
cmCTestHandlerCommand::cmCTestHandlerCommand()
{

View File

@ -5,9 +5,9 @@
#include "cmsys/FStream.hxx"
#include "cmsys/Process.h"
#include "cmsys/RegularExpression.hxx"
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <stdlib.h>
#include <string.h>
#include "cmCryptoHash.h"
#include "cmGeneratedFileStream.h"

View File

@ -12,9 +12,9 @@
#include "cmsys/Glob.hxx"
#include "cmsys/RegularExpression.hxx"
#include <chrono>
#include <cstring>
#include <iostream>
#include <sstream>
#include <string.h>
#include <utility>
struct CatToErrorType

View File

@ -25,15 +25,15 @@
#include <algorithm>
#include <chrono>
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <list>
#include <math.h>
#include <memory>
#include <sstream>
#include <stack>
#include <stdlib.h>
#include <unordered_map>
#include <utility>
#include <vector>

View File

@ -12,8 +12,8 @@
#include "cmsys/RegularExpression.hxx"
#include <algorithm>
#include <ctime>
#include <ostream>
#include <time.h>
#include <utility>
cmCTestP4::cmCTestP4(cmCTest* ct, std::ostream& log)

View File

@ -13,11 +13,11 @@
#include "cmsys/RegularExpression.hxx"
#include <chrono>
#include <cstdint>
#include <cstdio>
#include <cstring>
#include <iomanip>
#include <ratio>
#include <sstream>
#include <stdio.h>
#include <utility>
#include "cm_memory.hxx"

View File

@ -12,10 +12,10 @@
#include "cmXMLWriter.h"
#include "cmsys/RegularExpression.hxx"
#include <cstdlib>
#include <cstring>
#include <map>
#include <ostream>
#include <stdlib.h>
#include <string.h>
struct cmCTestSVN::Revision : public cmCTestVC::Revision
{

View File

@ -34,13 +34,13 @@
#include "cmSystemTools.h"
#include "cmake.h"
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <map>
#include <memory>
#include <ratio>
#include <sstream>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <utility>
#ifdef _WIN32

View File

@ -4,7 +4,7 @@
#include "cmCTestScriptHandler.h"
#include <stdlib.h>
#include <cstdlib>
class cmExecutionStatus;

View File

@ -8,8 +8,8 @@
#include "cmMakefile.h"
#include "cmSystemTools.h"
#include <cstddef>
#include <sstream>
#include <stddef.h>
class cmExecutionStatus;

View File

@ -6,9 +6,9 @@
#include "cm_jsoncpp_reader.h"
#include "cm_jsoncpp_value.h"
#include <chrono>
#include <cstdio>
#include <cstdlib>
#include <sstream>
#include <stdio.h>
#include <stdlib.h>
#include "cmAlgorithms.h"
#include "cmCTest.h"

View File

@ -10,8 +10,8 @@
#include "cmStringAlgorithms.h"
#include <chrono>
#include <cstdlib>
#include <sstream>
#include <stdlib.h>
#include <vector>
cmCTestTestCommand::cmCTestTestCommand()

View File

@ -29,15 +29,15 @@
#include <cmsys/Directory.hxx>
#include <cmsys/RegularExpression.hxx>
#include <cstddef>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <functional>
#include <iomanip>
#include <iterator>
#include <set>
#include <sstream>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <utility>
namespace {

View File

@ -8,9 +8,9 @@
#include "cmXMLWriter.h"
#include "cmsys/Process.h"
#include <cstdio>
#include <ctime>
#include <sstream>
#include <stdio.h>
#include <time.h>
#include <vector>
cmCTestVC::cmCTestVC(cmCTest* ct, std::ostream& log)

View File

@ -7,8 +7,8 @@
#include "cmSystemTools.h"
#include "cmsys/FStream.hxx"
#include <stdio.h>
#include <stdlib.h>
#include <cstdio>
#include <cstdlib>
class cmParseBlanketJSCoverage::JSONParser
{

View File

@ -7,9 +7,9 @@
#include "cmsys/Directory.hxx"
#include "cmsys/FStream.hxx"
#include <cstdio>
#include <cstdlib>
#include <map>
#include <stdio.h>
#include <stdlib.h>
#include <utility>
cmParseCacheCoverage::cmParseCacheCoverage(

View File

@ -7,8 +7,8 @@
#include "cmXMLParser.h"
#include "cmsys/FStream.hxx"
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
class cmParseCoberturaCoverage::XMLParser : public cmXMLParser
{

View File

@ -6,8 +6,8 @@
#include "cmsys/FStream.hxx"
#include "cmsys/Glob.hxx"
#include <stdio.h>
#include <stdlib.h>
#include <cstdio>
#include <cstdlib>
class cmParseDelphiCoverage::HTMLParser
{

View File

@ -7,9 +7,9 @@
#include "cmsys/Directory.hxx"
#include "cmsys/FStream.hxx"
#include <cstdio>
#include <cstdlib>
#include <map>
#include <stdio.h>
#include <stdlib.h>
#include <vector>
cmParseGTMCoverage::cmParseGTMCoverage(cmCTestCoverageHandlerContainer& cont,

View File

@ -9,8 +9,8 @@
#include "cmsys/Directory.hxx"
#include "cmsys/FStream.hxx"
#include "cmsys/Glob.hxx"
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
class cmParseJacocoCoverage::XMLParser : public cmXMLParser
{

View File

@ -7,8 +7,8 @@
#include "cmsys/Directory.hxx"
#include "cmsys/FStream.hxx"
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
/*
To setup coverage for php.

View File

@ -10,8 +10,8 @@
#include "cmStringAlgorithms.h"
#include "cmsys/Process.h"
#include <csignal>
#include <iostream>
#include <signal.h>
#include <string>
#if defined(_WIN32)
# include "cm_kwiml.h"

View File

@ -11,9 +11,9 @@
#include "cmake.h"
#include "cmsys/Encoding.hxx"
#include <csignal>
#include <cstring>
#include <iostream>
#include <signal.h>
#include <string.h>
#include <string>
#include <vector>

View File

@ -15,7 +15,7 @@
#include "cmSystemTools.h"
#include "cmake.h"
#include <assert.h>
#include <cassert>
#include <vector>
cmCursesCacheEntryComposite::cmCursesCacheEntryComposite(

View File

@ -7,8 +7,8 @@
#include "cmCursesStandardIncludes.h"
#include "cmVersion.h"
#include <stdio.h>
#include <string.h>
#include <cstdio>
#include <cstring>
inline int ctrl(int z)
{

View File

@ -19,8 +19,8 @@
#include "cmake.h"
#include <algorithm>
#include <stdio.h>
#include <string.h>
#include <cstdio>
#include <cstring>
#include <utility>
inline int ctrl(int z)

View File

@ -9,7 +9,7 @@
#include "cmCursesStandardIncludes.h"
#include "cmStateTypes.h"
#include <stddef.h>
#include <cstddef>
#include <string>
#include <vector>

View File

@ -8,8 +8,8 @@
#include "cmCursesWidget.h"
#include "cmStateTypes.h"
#include <stdio.h>
#include <string.h>
#include <cstdio>
#include <cstring>
inline int ctrl(int z)
{

View File

@ -229,8 +229,8 @@ int main(int argc, char** argv)
#if defined(Q_OS_MAC)
# include "cm_sys_stat.h"
# include <errno.h>
# include <string.h>
# include <cerrno>
# include <cstring>
# include <unistd.h>
static bool cmOSXInstall(std::string const& dir, std::string const& tool)
{

View File

@ -2,8 +2,8 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmAddSubDirectoryCommand.h"
#include <cstring>
#include <sstream>
#include <string.h>
#include "cmExecutionStatus.h"
#include "cmMakefile.h"

View File

@ -13,7 +13,7 @@
# include <pthread.h>
# include <sched.h>
// On some platforms CPU_ZERO needs memset but sched.h forgets string.h
# include <string.h> // IWYU pragma: keep
# include <cstring> // IWYU pragma: keep
# if defined(__FreeBSD__)
# include <pthread_np.h>
# include <sys/cpuset.h>

View File

@ -11,10 +11,10 @@
#include "cmsys/Encoding.hxx"
#include "cmsys/FStream.hxx"
#include <cstring>
#include <ctime>
#include <iostream>
#include <sstream>
#include <string.h>
#include <time.h>
#ifndef __LA_SSIZE_T
# define __LA_SSIZE_T la_ssize_t

View File

@ -5,8 +5,8 @@
#include "cmConfigure.h" // IWYU pragma: keep
#include <cstddef>
#include <iosfwd>
#include <stddef.h>
#include <string>
#if defined(CMAKE_BOOTSTRAP)

View File

@ -4,7 +4,7 @@
#include "cmsys/Directory.hxx"
#include <algorithm>
#include <stddef.h>
#include <cstddef>
#include <utility>
#include "cmExecutionStatus.h"

View File

@ -5,7 +5,7 @@
#include "cmConfigure.h" // IWYU pragma: keep
#include <stddef.h>
#include <cstddef>
#include <string>
/** \class cmBase32Encoder

View File

@ -2,7 +2,7 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmCMakeHostSystemInformationCommand.h"
#include <stddef.h>
#include <cstddef>
#include "cmExecutionStatus.h"
#include "cmMakefile.h"

View File

@ -2,8 +2,8 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmCMakeMinimumRequired.h"
#include <cstdio>
#include <sstream>
#include <stdio.h>
#include "cmExecutionStatus.h"
#include "cmMakefile.h"

View File

@ -14,7 +14,7 @@
#include "cmState.h"
#include "cmVersion.h"
#include <stdlib.h>
#include <cstdlib>
#ifdef __QNX__
# include <malloc.h> /* for malloc/free on QNX */

View File

@ -11,16 +11,16 @@
#include "cmsys/Process.h"
#include "cmsys/SystemInformation.hxx"
#include <algorithm>
#include <cctype>
#include <chrono>
#include <ctype.h>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <iostream>
#include <map>
#include <sstream>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <string>
#include <time.h>
#include <utility>
#include <vector>
#if defined(_WIN32)

View File

@ -9,11 +9,11 @@
#include "cmProcessOutput.h"
#include <chrono>
#include <ctime>
#include <map>
#include <memory>
#include <sstream>
#include <string>
#include <time.h>
#include <vector>
class cmCTestBuildHandler;

View File

@ -5,9 +5,9 @@
#include "cmsys/FStream.hxx"
#include "cmsys/Glob.hxx"
#include <algorithm>
#include <cstdio>
#include <cstring>
#include <sstream>
#include <stdio.h>
#include <string.h>
#include <string>
#include "cmGeneratedFileStream.h"

View File

@ -8,9 +8,9 @@
#include "cmStringAlgorithms.h"
#include "cmSystemTools.h"
#include <cstring>
#include <iostream>
#include <sstream>
#include <string.h>
int cmCommandArgument_yyparse(yyscan_t yyscanner);
//

View File

@ -4,7 +4,7 @@
#include <algorithm>
#include <assert.h>
#include <cassert>
cmComputeComponentGraph::cmComputeComponentGraph(Graph const& input)
: InputGraph(input)

View File

@ -16,11 +16,11 @@
#include "cmake.h"
#include <algorithm>
#include <assert.h>
#include <cassert>
#include <cstdio>
#include <cstring>
#include <iterator>
#include <sstream>
#include <stdio.h>
#include <string.h>
#include <utility>
#include "cm_memory.hxx"

View File

@ -20,9 +20,9 @@
#include "cmake.h"
#include <algorithm>
#include <ctype.h>
#include <cctype>
#include <cstring>
#include <sstream>
#include <string.h>
#include <utility>
//#define CM_COMPUTE_LINK_INFO_DEBUG

View File

@ -20,9 +20,9 @@
#include "cmTargetDepend.h"
#include "cmake.h"
#include <assert.h>
#include <cassert>
#include <cstdio>
#include <sstream>
#include <stdio.h>
#include <utility>
/*

View File

@ -3,11 +3,11 @@
#include "cmConditionEvaluator.h"
#include "cmsys/RegularExpression.hxx"
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <functional>
#include <sstream>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <utility>
#include "cmAlgorithms.h"

View File

@ -3,10 +3,10 @@
#include "cmCoreTryCompile.h"
#include "cmsys/Directory.hxx"
#include <cstdio>
#include <cstring>
#include <set>
#include <sstream>
#include <stdio.h>
#include <string.h>
#include <utility>
#include "cmExportTryCompileFileGenerator.h"

View File

@ -7,8 +7,8 @@
#include "cm_string_view.hxx"
#include <cstddef>
#include <memory>
#include <stddef.h>
#include <string>
#include <vector>

View File

@ -13,8 +13,8 @@
#include "cmStringAlgorithms.h"
#include "cmSystemTools.h"
#include <cstddef>
#include <memory>
#include <stddef.h>
#include <utility>
cmCustomCommandGenerator::cmCustomCommandGenerator(cmCustomCommand const& cc,

View File

@ -4,7 +4,7 @@
#include "cm_string_view.hxx"
#include <assert.h>
#include <cassert>
#include <functional>
#include <unordered_set>
#include <utility>

View File

@ -3,10 +3,10 @@
#include "cmDependsFortran.h"
#include "cmsys/FStream.hxx"
#include <assert.h>
#include <cassert>
#include <cstdlib>
#include <iostream>
#include <map>
#include <stdlib.h>
#include <utility>
#include "cmFortranParser.h" /* Interface to parser object. */

View File

@ -7,10 +7,10 @@
#include "cm_string_view.hxx"
#include "cmsys/FStream.hxx"
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <utility>
int cmDependsJava_yyparse(yyscan_t yyscanner);

View File

@ -11,8 +11,8 @@
#include "cmsys/FStream.hxx"
#include "cmsys/Glob.hxx"
#include <algorithm>
#include <ctype.h>
#include <string.h>
#include <cctype>
#include <cstring>
#include <utility>
static const char* cmDocumentationStandardOptions[][2] = {

View File

@ -5,9 +5,9 @@
#include "cmDocumentationEntry.h"
#include "cmDocumentationSection.h"
#include <cstring>
#include <iomanip>
#include <ostream>
#include <string.h>
#include <string>
#include <vector>

View File

@ -6,10 +6,10 @@
#include "cm_kwiml.h"
#include "cm_memory.hxx"
#include "cmsys/FStream.hxx"
#include <cstddef>
#include <map>
#include <memory>
#include <sstream>
#include <stddef.h>
#include <utility>
#include <vector>

View File

@ -3,7 +3,7 @@
#include "cmExecProgramCommand.h"
#include "cmsys/Process.h"
#include <stdio.h>
#include <cstdio>
#include "cmExecutionStatus.h"
#include "cmMakefile.h"

View File

@ -6,10 +6,10 @@
#include "cmsys/Process.h"
#include <algorithm>
#include <ctype.h> /* isspace */
#include <cctype> /* isspace */
#include <cstdio>
#include <iostream>
#include <memory>
#include <stdio.h>
#include <vector>
#include "cmAlgorithms.h"

View File

@ -19,9 +19,9 @@
#include "cmTargetExport.h"
#include "cmsys/FStream.hxx"
#include <assert.h>
#include <cassert>
#include <cstring>
#include <sstream>
#include <string.h>
#include <utility>
#include "cm_memory.hxx"

View File

@ -2,8 +2,8 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmExportInstallAndroidMKGenerator.h"
#include <cstddef>
#include <ostream>
#include <stddef.h>
#include "cmExportBuildAndroidMKGenerator.h"
#include "cmExportSet.h"

View File

@ -15,10 +15,10 @@
#include "cmake.h"
#include "cmsys/SystemInformation.hxx"
#include <cstring>
#include <map>
#include <set>
#include <sstream>
#include <string.h>
#include <utility>
cmExtraCodeLiteGenerator::cmExtraCodeLiteGenerator()

View File

@ -4,10 +4,10 @@
#include "cmsys/RegularExpression.hxx"
#include <algorithm>
#include <assert.h>
#include <cassert>
#include <cstdio>
#include <map>
#include <sstream>
#include <stdio.h>
#include <utility>
#include "cmGeneratedFileStream.h"

View File

@ -12,9 +12,9 @@
#include "cmStringAlgorithms.h"
#include "cmSystemTools.h"
#include <cstring>
#include <ostream>
#include <set>
#include <string.h>
#include <vector>
cmExtraKateGenerator::cmExtraKateGenerator() = default;

View File

@ -3,9 +3,9 @@
#include "cmExtraSublimeTextGenerator.h"
#include "cmsys/RegularExpression.hxx"
#include <cstring>
#include <set>
#include <sstream>
#include <string.h>
#include <utility>
#include "cmGeneratedFileStream.h"

View File

@ -2,7 +2,7 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmFLTKWrapUICommand.h"
#include <stddef.h>
#include <cstddef>
#include "cmCustomCommandLines.h"
#include "cmMakefile.h"

View File

@ -9,14 +9,14 @@
#include "cmsys/RegularExpression.hxx"
#include <algorithm>
#include <assert.h>
#include <cassert>
#include <cctype>
#include <cmath>
#include <ctype.h>
#include <cstdio>
#include <cstdlib>
#include <map>
#include <set>
#include <sstream>
#include <stdio.h>
#include <stdlib.h>
#include <utility>
#include <vector>

View File

@ -16,8 +16,8 @@
# include "cmsys/FStream.hxx"
#endif
#include <cstring>
#include <sstream>
#include <string.h>
using namespace cmFSPermissions;

View File

@ -3,7 +3,7 @@
#include "cmFileLock.h"
#include "cmFileLockResult.h"
#include <assert.h>
#include <cassert>
// Common implementation

View File

@ -2,7 +2,7 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmFileLockPool.h"
#include <assert.h>
#include <cassert>
#include "cmAlgorithms.h"
#include "cmFileLock.h"

View File

@ -2,8 +2,8 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmFileLockResult.h"
#include <errno.h>
#include <string.h>
#include <cerrno>
#include <cstring>
#define WINMSG_BUF_LEN (1024)
cmFileLockResult cmFileLockResult::MakeOk()

View File

@ -3,9 +3,9 @@
#include "cmFileLock.h"
#include "cmSystemTools.h"
#include <errno.h> // errno
#include <cerrno> // errno
#include <cstdio> // SEEK_SET
#include <fcntl.h>
#include <stdio.h> // SEEK_SET
#include <unistd.h>
cmFileLock::cmFileLock() = default;

View File

@ -6,7 +6,7 @@
#include "cmsys/SystemTools.hxx"
#include <cassert>
#include <stddef.h>
#include <cstddef>
#include <unordered_map>
#include <utility>

View File

@ -6,7 +6,7 @@
#include "cmConfigure.h" // IWYU pragma: keep
#include <array>
#include <stddef.h>
#include <cstddef>
#include <string>
#include <utility>

View File

@ -2,8 +2,8 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmFileTime.h"
#include <ctime>
#include <string>
#include <time.h>
// Use a platform-specific API to get file times efficiently.
#if !defined(_WIN32) || defined(__CYGWIN__)

View File

@ -2,10 +2,10 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmFindBase.h"
#include <cstddef>
#include <deque>
#include <iostream>
#include <map>
#include <stddef.h>
#include "cmAlgorithms.h"
#include "cmMakefile.h"

View File

@ -4,7 +4,7 @@
#include <algorithm>
#include <array>
#include <string.h>
#include <cstring>
#include <utility>
#include "cmAlgorithms.h"

View File

@ -4,9 +4,9 @@
#include "cmsys/RegularExpression.hxx"
#include <algorithm>
#include <cstdio>
#include <cstring>
#include <set>
#include <stdio.h>
#include <string.h>
#include <utility>
#include "cmGlobalGenerator.h"

View File

@ -9,13 +9,13 @@
#include "cmsys/RegularExpression.hxx"
#include "cmsys/String.h"
#include <algorithm>
#include <assert.h>
#include <cassert>
#include <cstdio>
#include <cstring>
#include <deque>
#include <functional>
#include <iterator>
#include <sstream>
#include <stdio.h>
#include <string.h>
#include <utility>
#include "cm_memory.hxx"

View File

@ -2,9 +2,9 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmForEachCommand.h"
#include <cstdio>
#include <cstdlib>
#include <sstream>
#include <stdio.h>
#include <stdlib.h>
#include <utility>
#include "cm_memory.hxx"

Some files were not shown because too many files have changed in this diff Show More