mirror of
https://github.com/reactos/CMake.git
synced 2024-11-23 11:39:48 +00:00
clang-tidy: modernize-deprecated-headers
This commit is contained in:
parent
9602bcfc62
commit
f30523d090
@ -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,\
|
||||
|
@ -13,8 +13,8 @@
|
||||
#include "cmXMLParser.h"
|
||||
#include "cmXMLWriter.h"
|
||||
|
||||
#include <cstddef>
|
||||
#include <sstream>
|
||||
#include <stddef.h>
|
||||
#include <utility>
|
||||
|
||||
cmCPackIFWInstaller::cmCPackIFWInstaller() = default;
|
||||
|
@ -13,9 +13,9 @@
|
||||
#include "cmTimestamp.h"
|
||||
#include "cmXMLWriter.h"
|
||||
|
||||
#include <cstddef>
|
||||
#include <map>
|
||||
#include <sstream>
|
||||
#include <stddef.h>
|
||||
#include <utility>
|
||||
|
||||
//---------------------------------------------------------- CompareStruct ---
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include "cmXMLParser.h"
|
||||
#include "cmXMLWriter.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <cstddef>
|
||||
|
||||
cmCPackIFWRepository::cmCPackIFWRepository()
|
||||
: Update(cmCPackIFWRepository::None)
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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 {
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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 */
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include "cmCPackRPMGenerator.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <ctype.h>
|
||||
#include <cctype>
|
||||
#include <map>
|
||||
#include <ostream>
|
||||
#include <utility>
|
||||
|
@ -3,8 +3,8 @@
|
||||
#include "cmCPackSTGZGenerator.h"
|
||||
|
||||
#include "cmsys/FStream.hxx"
|
||||
#include <cstdio>
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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*/,
|
||||
|
@ -14,9 +14,9 @@
|
||||
|
||||
#include "cmsys/Process.h"
|
||||
#include <chrono>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <ratio>
|
||||
#include <stdlib.h>
|
||||
|
||||
cmCTestBuildAndTestHandler::cmCTestBuildAndTestHandler()
|
||||
{
|
||||
|
@ -11,8 +11,8 @@
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmake.h"
|
||||
|
||||
#include <cstring>
|
||||
#include <sstream>
|
||||
#include <string.h>
|
||||
|
||||
class cmExecutionStatus;
|
||||
|
||||
|
@ -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[] = {
|
||||
|
@ -10,8 +10,8 @@
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmake.h"
|
||||
|
||||
#include <cstring>
|
||||
#include <sstream>
|
||||
#include <string.h>
|
||||
#include <vector>
|
||||
|
||||
cmCTestConfigureCommand::cmCTestConfigureCommand()
|
||||
|
@ -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;
|
||||
|
@ -8,8 +8,8 @@
|
||||
#include "cmStringAlgorithms.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
#include <cstdio>
|
||||
#include <ostream>
|
||||
#include <stdio.h>
|
||||
|
||||
cmCTestCurl::cmCTestCurl(cmCTest* ctest)
|
||||
{
|
||||
|
@ -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"
|
||||
|
@ -10,9 +10,9 @@
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmWorkingDirectory.h"
|
||||
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <sstream>
|
||||
#include <stdlib.h>
|
||||
|
||||
cmCTestHandlerCommand::cmCTestHandlerCommand()
|
||||
{
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
@ -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)
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
#include "cmCTestScriptHandler.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <cstdlib>
|
||||
|
||||
class cmExecutionStatus;
|
||||
|
||||
|
@ -8,8 +8,8 @@
|
||||
#include "cmMakefile.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
#include <cstddef>
|
||||
#include <sstream>
|
||||
#include <stddef.h>
|
||||
|
||||
class cmExecutionStatus;
|
||||
|
||||
|
@ -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"
|
||||
|
@ -10,8 +10,8 @@
|
||||
#include "cmStringAlgorithms.h"
|
||||
|
||||
#include <chrono>
|
||||
#include <cstdlib>
|
||||
#include <sstream>
|
||||
#include <stdlib.h>
|
||||
#include <vector>
|
||||
|
||||
cmCTestTestCommand::cmCTestTestCommand()
|
||||
|
@ -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 {
|
||||
|
@ -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)
|
||||
|
@ -7,8 +7,8 @@
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
#include "cmsys/FStream.hxx"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
|
||||
class cmParseBlanketJSCoverage::JSONParser
|
||||
{
|
||||
|
@ -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(
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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,
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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.
|
||||
|
@ -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"
|
||||
|
@ -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>
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmake.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
#include <vector>
|
||||
|
||||
cmCursesCacheEntryComposite::cmCursesCacheEntryComposite(
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include "cmCursesStandardIncludes.h"
|
||||
#include "cmStateTypes.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <cstddef>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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"
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
@ -5,8 +5,8 @@
|
||||
|
||||
#include "cmConfigure.h" // IWYU pragma: keep
|
||||
|
||||
#include <cstddef>
|
||||
#include <iosfwd>
|
||||
#include <stddef.h>
|
||||
#include <string>
|
||||
|
||||
#if defined(CMAKE_BOOTSTRAP)
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
#include "cmsys/Directory.hxx"
|
||||
#include <algorithm>
|
||||
#include <stddef.h>
|
||||
#include <cstddef>
|
||||
#include <utility>
|
||||
|
||||
#include "cmExecutionStatus.h"
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
#include "cmConfigure.h" // IWYU pragma: keep
|
||||
|
||||
#include <stddef.h>
|
||||
#include <cstddef>
|
||||
#include <string>
|
||||
|
||||
/** \class cmBase32Encoder
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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 */
|
||||
|
@ -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)
|
||||
|
@ -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;
|
||||
|
@ -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"
|
||||
|
@ -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);
|
||||
//
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
|
||||
cmComputeComponentGraph::cmComputeComponentGraph(Graph const& input)
|
||||
: InputGraph(input)
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -20,9 +20,9 @@
|
||||
#include "cmTargetDepend.h"
|
||||
#include "cmake.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
#include <cstdio>
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
#include <utility>
|
||||
|
||||
/*
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -7,8 +7,8 @@
|
||||
|
||||
#include "cm_string_view.hxx"
|
||||
|
||||
#include <cstddef>
|
||||
#include <memory>
|
||||
#include <stddef.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
|
@ -13,8 +13,8 @@
|
||||
#include "cmStringAlgorithms.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
#include <cstddef>
|
||||
#include <memory>
|
||||
#include <stddef.h>
|
||||
#include <utility>
|
||||
|
||||
cmCustomCommandGenerator::cmCustomCommandGenerator(cmCustomCommand const& cc,
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
#include "cm_string_view.hxx"
|
||||
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
#include <functional>
|
||||
#include <unordered_set>
|
||||
#include <utility>
|
||||
|
@ -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. */
|
||||
|
@ -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);
|
||||
|
@ -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] = {
|
||||
|
@ -5,9 +5,9 @@
|
||||
#include "cmDocumentationEntry.h"
|
||||
#include "cmDocumentationSection.h"
|
||||
|
||||
#include <cstring>
|
||||
#include <iomanip>
|
||||
#include <ostream>
|
||||
#include <string.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include "cmExecProgramCommand.h"
|
||||
|
||||
#include "cmsys/Process.h"
|
||||
#include <stdio.h>
|
||||
#include <cstdio>
|
||||
|
||||
#include "cmExecutionStatus.h"
|
||||
#include "cmMakefile.h"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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()
|
||||
|
@ -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"
|
||||
|
@ -12,9 +12,9 @@
|
||||
#include "cmStringAlgorithms.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
#include <cstring>
|
||||
#include <ostream>
|
||||
#include <set>
|
||||
#include <string.h>
|
||||
#include <vector>
|
||||
|
||||
cmExtraKateGenerator::cmExtraKateGenerator() = default;
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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>
|
||||
|
||||
|
@ -16,8 +16,8 @@
|
||||
# include "cmsys/FStream.hxx"
|
||||
#endif
|
||||
|
||||
#include <cstring>
|
||||
#include <sstream>
|
||||
#include <string.h>
|
||||
|
||||
using namespace cmFSPermissions;
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include "cmFileLock.h"
|
||||
|
||||
#include "cmFileLockResult.h"
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
|
||||
// Common implementation
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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()
|
||||
|
@ -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;
|
||||
|
@ -6,7 +6,7 @@
|
||||
#include "cmsys/SystemTools.hxx"
|
||||
|
||||
#include <cassert>
|
||||
#include <stddef.h>
|
||||
#include <cstddef>
|
||||
#include <unordered_map>
|
||||
#include <utility>
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
#include "cmConfigure.h" // IWYU pragma: keep
|
||||
|
||||
#include <array>
|
||||
#include <stddef.h>
|
||||
#include <cstddef>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
|
@ -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__)
|
||||
|
@ -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"
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <string.h>
|
||||
#include <cstring>
|
||||
#include <utility>
|
||||
|
||||
#include "cmAlgorithms.h"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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
Loading…
Reference in New Issue
Block a user