[lldb][NFC] Use C++ versions of the deprecated C standard library headers
The C headers are deprecated so as requested in D102845, this is replacing them all with their (not deprecated) C++ equivalent. Reviewed By: shafik Differential Revision: https://reviews.llvm.org/D103084
This commit is contained in:
parent
21aec4fdc5
commit
76e47d4887
@ -9,7 +9,7 @@
|
||||
#ifndef LLDB_API_SBCOMMANDRETURNOBJECT_H
|
||||
#define LLDB_API_SBCOMMANDRETURNOBJECT_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include <cstdio>
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
#ifndef LLDB_API_SBDEBUGGER_H
|
||||
#define LLDB_API_SBDEBUGGER_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include <cstdio>
|
||||
|
||||
#include "lldb/API/SBDefines.h"
|
||||
#include "lldb/API/SBPlatform.h"
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
|
||||
#include "lldb/API/SBDefines.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <cstdio>
|
||||
#include <vector>
|
||||
|
||||
namespace lldb {
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
|
||||
#include "lldb/API/SBDefines.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <cstdio>
|
||||
#include <vector>
|
||||
|
||||
namespace lldb {
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
#include "lldb/API/SBData.h"
|
||||
#include "lldb/API/SBDefines.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <cstdio>
|
||||
|
||||
// There's a lot to be fixed here, but need to wait for underlying insn
|
||||
// implementation to be revised & settle down first.
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
|
||||
#include "lldb/API/SBDefines.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <cstdio>
|
||||
|
||||
namespace lldb {
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
#include "lldb/API/SBProcessInfo.h"
|
||||
#include "lldb/API/SBQueue.h"
|
||||
#include "lldb/API/SBTarget.h"
|
||||
#include <stdio.h>
|
||||
#include <cstdio>
|
||||
|
||||
namespace lldb {
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
|
||||
#include "lldb/API/SBDefines.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <cstdio>
|
||||
|
||||
namespace lldb {
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
#ifndef LLDB_API_SBSTREAM_H
|
||||
#define LLDB_API_SBSTREAM_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include <cstdio>
|
||||
|
||||
#include "lldb/API/SBDefines.h"
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
|
||||
#include "lldb/API/SBDefines.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <cstdio>
|
||||
|
||||
namespace lldb {
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
|
||||
#include "lldb/API/SBDefines.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <cstdio>
|
||||
|
||||
namespace lldb {
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
#ifndef LLDB_BREAKPOINT_STOPPOINT_HIT_COUNTER_H
|
||||
#define LLDB_BREAKPOINT_STOPPOINT_HIT_COUNTER_H
|
||||
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
#include <cstdint>
|
||||
#include <limits>
|
||||
|
||||
|
||||
@ -14,8 +14,8 @@
|
||||
#include "lldb/lldb-private-enumerations.h"
|
||||
#include "lldb/lldb-types.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
namespace lldb_private {
|
||||
class Block;
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
#include "lldb/lldb-forward.h"
|
||||
#include "lldb/lldb-types.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <cstddef>
|
||||
|
||||
namespace lldb_private {
|
||||
class SectionList;
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
#include "lldb/Core/SearchFilter.h"
|
||||
#include "lldb/lldb-defines.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <cstddef>
|
||||
#include <vector>
|
||||
|
||||
namespace lldb_private {
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
#include "lldb/Core/SourceLocationSpec.h"
|
||||
#include "lldb/lldb-defines.h"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
|
||||
namespace lldb_private {
|
||||
class Address;
|
||||
|
||||
@ -22,8 +22,8 @@
|
||||
#include <ratio>
|
||||
#include <string>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
namespace lldb_private {
|
||||
class Connection;
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
#ifndef LLDB_CORE_DEBUGGER_H
|
||||
#define LLDB_CORE_DEBUGGER_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
@ -42,9 +42,9 @@
|
||||
#include "llvm/Support/DynamicLibrary.h"
|
||||
#include "llvm/Support/Threading.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
#include <cassert>
|
||||
#include <cstddef>
|
||||
#include <cstdio>
|
||||
|
||||
namespace llvm {
|
||||
class raw_ostream;
|
||||
|
||||
@ -34,9 +34,9 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <cstdio>
|
||||
|
||||
namespace llvm {
|
||||
template <typename T> class SmallVectorImpl;
|
||||
|
||||
@ -12,8 +12,8 @@
|
||||
#include "lldb/lldb-enumerations.h"
|
||||
#include "lldb/lldb-types.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
namespace lldb_private {
|
||||
class DataExtractor;
|
||||
|
||||
@ -21,8 +21,8 @@
|
||||
#include "lldb/lldb-private-types.h"
|
||||
#include "lldb/lldb-types.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
namespace lldb_private {
|
||||
class OptionValueDictionary;
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
#include "lldb/Utility/FileSpec.h"
|
||||
#include "lldb/lldb-defines.h"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
|
||||
namespace lldb_private {
|
||||
class Address;
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <cstddef>
|
||||
|
||||
namespace lldb_private {
|
||||
class Stream;
|
||||
|
||||
@ -12,8 +12,8 @@
|
||||
#include "lldb/lldb-enumerations.h"
|
||||
#include "lldb/lldb-types.h"
|
||||
#include <algorithm>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
@ -26,8 +26,8 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <cstdint>
|
||||
#include <cstdio>
|
||||
|
||||
namespace lldb_private {
|
||||
class Debugger;
|
||||
|
||||
@ -17,8 +17,8 @@
|
||||
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
|
||||
#include <cstddef>
|
||||
#include <memory>
|
||||
#include <stddef.h>
|
||||
|
||||
namespace lldb_private {
|
||||
|
||||
|
||||
@ -9,8 +9,8 @@
|
||||
#ifndef LLDB_CORE_MAPPEDHASH_H
|
||||
#define LLDB_CORE_MAPPEDHASH_H
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdint.h>
|
||||
#include <cassert>
|
||||
#include <cstdint>
|
||||
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
|
||||
@ -32,10 +32,10 @@
|
||||
#include "llvm/Support/Chrono.h"
|
||||
|
||||
#include <atomic>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
|
||||
@ -27,8 +27,8 @@
|
||||
#include <mutex>
|
||||
#include <vector>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
namespace lldb_private {
|
||||
class ConstString;
|
||||
|
||||
@ -14,9 +14,9 @@
|
||||
|
||||
#include "llvm/Support/SwapByteOrder.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <cassert>
|
||||
#include <cstdint>
|
||||
#include <cstring>
|
||||
|
||||
namespace lldb {
|
||||
class SBInstruction;
|
||||
|
||||
@ -19,8 +19,8 @@
|
||||
#include "lldb/lldb-private-interfaces.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
#define LLDB_PLUGIN_DEFINE_ADV(ClassName, PluginName) \
|
||||
namespace lldb_private { \
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
#include "lldb/Utility/FileSpec.h"
|
||||
#include "lldb/lldb-forward.h"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
|
||||
namespace lldb_private {
|
||||
class Address;
|
||||
|
||||
@ -21,8 +21,8 @@
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
namespace lldb_private {
|
||||
class Address;
|
||||
|
||||
@ -15,10 +15,10 @@
|
||||
|
||||
#include "llvm/Support/Chrono.h"
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <stddef.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <cstddef>
|
||||
|
||||
namespace lldb_private {
|
||||
class Debugger;
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
|
||||
#include "lldb/Utility/Stream.h"
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
#include <stdio.h>
|
||||
#include <cstdio>
|
||||
#include <string>
|
||||
|
||||
namespace lldb_private {
|
||||
|
||||
@ -14,8 +14,8 @@
|
||||
#include "lldb/lldb-defines.h"
|
||||
#include "lldb/lldb-enumerations.h"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <cstdint>
|
||||
#include <cstdio>
|
||||
|
||||
namespace lldb_private {
|
||||
|
||||
|
||||
@ -17,8 +17,8 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
namespace lldb_private {
|
||||
class CommandInterpreter;
|
||||
|
||||
@ -21,8 +21,8 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <cstdint>
|
||||
#include <cstring>
|
||||
|
||||
namespace lldb_private {
|
||||
class DataExtractor;
|
||||
|
||||
@ -37,8 +37,8 @@
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
namespace lldb_private {
|
||||
class Declaration;
|
||||
|
||||
@ -15,8 +15,8 @@
|
||||
#include "lldb/lldb-enumerations.h"
|
||||
#include "lldb/lldb-forward.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
namespace lldb_private {
|
||||
class ConstString;
|
||||
|
||||
@ -20,8 +20,8 @@
|
||||
|
||||
#include "llvm/ADT/Optional.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
namespace lldb_private {
|
||||
|
||||
|
||||
@ -21,8 +21,8 @@
|
||||
#include "lldb/lldb-private-enumerations.h"
|
||||
#include "lldb/lldb-types.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
namespace lldb_private {
|
||||
class DataExtractor;
|
||||
|
||||
@ -17,8 +17,8 @@
|
||||
#include "lldb/lldb-forward.h"
|
||||
#include "lldb/lldb-types.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
namespace lldb_private {
|
||||
class DataExtractor;
|
||||
|
||||
@ -17,8 +17,8 @@
|
||||
#include "lldb/lldb-forward.h"
|
||||
#include "lldb/lldb-types.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
namespace lldb_private {
|
||||
class DataExtractor;
|
||||
|
||||
@ -15,8 +15,8 @@
|
||||
#include "lldb/lldb-private-enumerations.h"
|
||||
#include "lldb/lldb-types.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
namespace lldb_private {
|
||||
class CompilerType;
|
||||
class DataExtractor;
|
||||
|
||||
@ -19,9 +19,9 @@
|
||||
#include "lldb/lldb-forward.h"
|
||||
#include "lldb/lldb-private-enumerations.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cassert>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
namespace lldb_private {
|
||||
class DataExtractor;
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <cstddef>
|
||||
|
||||
namespace lldb_private {
|
||||
class ValueObject;
|
||||
|
||||
@ -18,8 +18,8 @@
|
||||
#include "lldb/lldb-forward.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
namespace lldb_private {
|
||||
class ExecutionContextScope;
|
||||
|
||||
@ -18,8 +18,8 @@
|
||||
#include "lldb/lldb-forward.h"
|
||||
#include "lldb/lldb-private-types.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
namespace lldb_private {
|
||||
class DataExtractor;
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <cstddef>
|
||||
|
||||
namespace lldb_private {
|
||||
class Declaration;
|
||||
|
||||
@ -18,8 +18,8 @@
|
||||
#include "lldb/lldb-enumerations.h"
|
||||
#include "lldb/lldb-forward.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
namespace lldb_private {
|
||||
class DataExtractor;
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
#define LLDB_CORE_DWARF_H
|
||||
|
||||
#include "lldb/Utility/RangeMap.h"
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
|
||||
// Get the DWARF constant definitions from llvm
|
||||
#include "llvm/BinaryFormat/Dwarf.h"
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
#ifndef LLDB_DATAFORMATTERS_TYPESUMMARY_H
|
||||
#define LLDB_DATAFORMATTERS_TYPESUMMARY_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
#ifndef LLDB_DATAFORMATTERS_TYPESYNTHETIC_H
|
||||
#define LLDB_DATAFORMATTERS_TYPESYNTHETIC_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
|
||||
#include <functional>
|
||||
#include <initializer_list>
|
||||
|
||||
@ -15,9 +15,9 @@
|
||||
#include "lldb/lldb-private.h"
|
||||
#include "llvm/ADT/BitmaskEnum.h"
|
||||
|
||||
#include <cstdarg>
|
||||
#include <cstdio>
|
||||
#include <mutex>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
namespace lldb_private {
|
||||
|
||||
@ -8,8 +8,8 @@
|
||||
#ifndef LLDB_HOST_FILECACHE_H
|
||||
#define LLDB_HOST_FILECACHE_H
|
||||
|
||||
#include <cstdint>
|
||||
#include <map>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "lldb/lldb-forward.h"
|
||||
#include "lldb/lldb-types.h"
|
||||
|
||||
@ -21,8 +21,8 @@
|
||||
|
||||
#include "lldb/lldb-types.h"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <cstdint>
|
||||
#include <cstdio>
|
||||
#include <sys/stat.h>
|
||||
|
||||
namespace lldb_private {
|
||||
|
||||
@ -17,8 +17,8 @@
|
||||
#include "lldb/lldb-private-forward.h"
|
||||
#include "lldb/lldb-private.h"
|
||||
#include <cerrno>
|
||||
#include <cstdarg>
|
||||
#include <map>
|
||||
#include <stdarg.h>
|
||||
#include <string>
|
||||
#include <type_traits>
|
||||
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
#include "lldb/lldb-enumerations.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
|
||||
#include <string>
|
||||
|
||||
|
||||
@ -9,8 +9,8 @@
|
||||
#ifndef LLDB_HOST_PROCESSRUNLOCK_H
|
||||
#define LLDB_HOST_PROCESSRUNLOCK_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <time.h>
|
||||
#include <cstdint>
|
||||
#include <ctime>
|
||||
|
||||
#include "lldb/lldb-defines.h"
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
#ifndef LLDB_HOST_SOCKETADDRESS_H
|
||||
#define LLDB_HOST_SOCKETADDRESS_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
|
||||
#ifdef _WIN32
|
||||
#include "lldb/Host/windows/windows.h"
|
||||
|
||||
@ -9,9 +9,7 @@
|
||||
#ifndef LLDB_HOST_STRINGCONVERT_H
|
||||
#define LLDB_HOST_STRINGCONVERT_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace lldb_private {
|
||||
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
#include <time64.h>
|
||||
extern time_t timegm(struct tm *t);
|
||||
#else
|
||||
#include <time.h>
|
||||
#include <ctime>
|
||||
#endif
|
||||
|
||||
#endif // LLDB_HOST_TIME_H
|
||||
|
||||
@ -16,10 +16,10 @@
|
||||
#endif
|
||||
|
||||
// va_start, va_end, etc macros.
|
||||
#include <stdarg.h>
|
||||
#include <cstdarg>
|
||||
|
||||
// time_t, timespec, etc.
|
||||
#include <time.h>
|
||||
#include <ctime>
|
||||
|
||||
#ifndef PATH_MAX
|
||||
#define PATH_MAX 32768
|
||||
@ -68,7 +68,7 @@
|
||||
#ifdef _MSC_VER
|
||||
|
||||
// PRIxxx format macros for printf()
|
||||
#include <inttypes.h>
|
||||
#include <cinttypes>
|
||||
|
||||
// open(), close(), creat(), etc.
|
||||
#include <io.h>
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
#ifndef LLDB_SYMBOL_LOCATESYMBOLFILE_H
|
||||
#define LLDB_SYMBOL_LOCATESYMBOLFILE_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
|
||||
#include "lldb/Core/FileSpecList.h"
|
||||
#include "lldb/Utility/FileSpec.h"
|
||||
|
||||
@ -18,8 +18,8 @@
|
||||
#include "lldb/lldb-private-enumerations.h"
|
||||
#include "lldb/lldb-types.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
namespace lldb_private {
|
||||
class ModuleList;
|
||||
class Process;
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
|
||||
#include "lldb/Host/Config.h"
|
||||
|
||||
#include <limits.h>
|
||||
#include <climits>
|
||||
|
||||
#include <chrono>
|
||||
#include <list>
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
#include <ratio>
|
||||
#include <string>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <cstddef>
|
||||
|
||||
namespace lldb_private {
|
||||
class Status;
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
#include "llvm/Support/FormatVariadic.h"
|
||||
#include "llvm/Support/YAMLTraits.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <cstddef>
|
||||
|
||||
namespace lldb_private {
|
||||
class Stream;
|
||||
|
||||
@ -10,8 +10,8 @@
|
||||
#define LLDB_UTILITY_DATABUFFER_H
|
||||
#if defined(__cplusplus)
|
||||
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <cstdint>
|
||||
#include <cstring>
|
||||
|
||||
#include "lldb/lldb-types.h"
|
||||
|
||||
|
||||
@ -12,8 +12,8 @@
|
||||
#include "lldb/Utility/DataBuffer.h"
|
||||
#include "lldb/lldb-types.h"
|
||||
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
#include <stdint.h>
|
||||
|
||||
namespace llvm {
|
||||
class WritableMemoryBuffer;
|
||||
|
||||
@ -16,8 +16,8 @@
|
||||
#include "lldb/lldb-forward.h"
|
||||
#include "lldb/lldb-types.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
namespace lldb_private {
|
||||
|
||||
|
||||
@ -19,8 +19,8 @@
|
||||
#include "llvm/Support/SwapByteOrder.h"
|
||||
|
||||
#include <cassert>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <cstdint>
|
||||
#include <cstring>
|
||||
|
||||
namespace lldb_private {
|
||||
class Log;
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
|
||||
#include "lldb/lldb-enumerations.h"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
|
||||
namespace lldb_private {
|
||||
|
||||
|
||||
@ -22,8 +22,8 @@
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
namespace lldb_private {
|
||||
class Event;
|
||||
|
||||
@ -20,8 +20,8 @@
|
||||
#include "llvm/Support/Path.h"
|
||||
#include "llvm/Support/YAMLTraits.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
namespace lldb_private {
|
||||
class Stream;
|
||||
|
||||
@ -17,8 +17,8 @@
|
||||
#include "llvm/Support/YAMLTraits.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
|
||||
@ -9,8 +9,8 @@
|
||||
#ifndef LLDB_UTILITY_IOOBJECT_H
|
||||
#define LLDB_UTILITY_IOOBJECT_H
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <cstdarg>
|
||||
#include <cstdio>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include "lldb/lldb-private.h"
|
||||
|
||||
@ -23,8 +23,8 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
namespace lldb_private {
|
||||
class ConstString;
|
||||
|
||||
@ -9,8 +9,8 @@
|
||||
#ifndef LLDB_UTILITY_PREDICATE_H
|
||||
#define LLDB_UTILITY_PREDICATE_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <time.h>
|
||||
#include <cstdint>
|
||||
#include <ctime>
|
||||
|
||||
#include <condition_variable>
|
||||
#include <mutex>
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
#include "llvm/Support/Error.h"
|
||||
#include "llvm/Support/FormatVariadic.h"
|
||||
#include <cstdarg>
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
#include <system_error>
|
||||
#include <type_traits>
|
||||
|
||||
@ -16,9 +16,9 @@
|
||||
#include "llvm/Support/FormatVariadic.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstdarg>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <type_traits>
|
||||
|
||||
namespace lldb_private {
|
||||
|
||||
@ -12,8 +12,8 @@
|
||||
#include "lldb/lldb-types.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
namespace lldb_private {
|
||||
|
||||
|
||||
@ -15,8 +15,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
namespace lldb_private {
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
#ifndef LLDB_UTILITY_STREAMTEE_H
|
||||
#define LLDB_UTILITY_STREAMTEE_H
|
||||
|
||||
#include <limits.h>
|
||||
#include <climits>
|
||||
|
||||
#include <mutex>
|
||||
|
||||
|
||||
@ -12,8 +12,8 @@
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
|
||||
class StringExtractor {
|
||||
|
||||
@ -15,8 +15,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
class StringExtractorGDBRemote : public StringExtractor {
|
||||
public:
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <cstddef>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
#include "lldb/lldb-defines.h"
|
||||
#include "llvm/Support/Chrono.h"
|
||||
#include <atomic>
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
|
||||
namespace lldb_private {
|
||||
class Stream;
|
||||
|
||||
@ -12,8 +12,8 @@
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/Support/Endian.h"
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
|
||||
namespace lldb_private {
|
||||
|
||||
@ -12,8 +12,8 @@
|
||||
#include "lldb/lldb-types.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <vector>
|
||||
|
||||
namespace lldb_private {
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
#include "lldb/lldb-enumerations.h"
|
||||
#include "lldb/lldb-forward.h"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
|
||||
// All host systems must define:
|
||||
// lldb::thread_t The native thread type for spawned threads on the
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
#include "lldb/Host/PosixApi.h"
|
||||
#include "lldb/Utility/Stream.h"
|
||||
|
||||
#include <limits.h>
|
||||
#include <climits>
|
||||
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
#include "lldb/API/SBStream.h"
|
||||
#include "lldb/Utility/Status.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <cstdarg>
|
||||
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
||||
@ -17,8 +17,8 @@
|
||||
|
||||
#include "llvm/ADT/SmallString.h"
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <limits.h>
|
||||
#include <cinttypes>
|
||||
#include <climits>
|
||||
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
#include "lldb/Utility/FileSpec.h"
|
||||
#include "lldb/Utility/Stream.h"
|
||||
|
||||
#include <limits.h>
|
||||
#include <climits>
|
||||
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
#include "lldb/Symbol/LineEntry.h"
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
|
||||
#include <limits.h>
|
||||
#include <climits>
|
||||
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
#include "lldb/API/SBProcess.h"
|
||||
#include "SBReproducerPrivate.h"
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <cinttypes>
|
||||
|
||||
#include "lldb/lldb-defines.h"
|
||||
#include "lldb/lldb-types.h"
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <cinttypes>
|
||||
|
||||
#include "SBReproducerPrivate.h"
|
||||
#include "lldb/API/SBQueue.h"
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user