2 changes: 1 addition & 1 deletion lldb/tools/debugserver/source/StdStringExtractor.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#ifndef LLDB_TOOLS_DEBUGSERVER_SOURCE_STDSTRINGEXTRACTOR_H
#define LLDB_TOOLS_DEBUGSERVER_SOURCE_STDSTRINGEXTRACTOR_H

#include <stdint.h>
#include <cstdint>
#include <string>


Expand Down
4 changes: 2 additions & 2 deletions lldb/tools/debugserver/source/SysSignal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
//===----------------------------------------------------------------------===//

#include "SysSignal.h"
#include <signal.h>
#include <stddef.h>
#include <csignal>
#include <cstddef>

const char *SysSignal::Name(int signal) {
switch (signal) {
Expand Down
2 changes: 1 addition & 1 deletion lldb/tools/debugserver/source/TTYState.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#ifndef LLDB_TOOLS_DEBUGSERVER_SOURCE_TTYSTATE_H
#define LLDB_TOOLS_DEBUGSERVER_SOURCE_TTYSTATE_H

#include <stdint.h>
#include <cstdint>
#include <termios.h>

class TTYState {
Expand Down
2 changes: 1 addition & 1 deletion lldb/tools/debugserver/source/debugserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

#include <arpa/inet.h>
#include <asl.h>
#include <cerrno>
#include <crt_externs.h>
#include <errno.h>
#include <getopt.h>
#include <netdb.h>
#include <netinet/in.h>
Expand Down
2 changes: 1 addition & 1 deletion lldb/tools/debugserver/source/libdebugserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//

#include <errno.h>
#include <cerrno>
#include <getopt.h>
#include <netinet/in.h>
#include <sys/select.h>
Expand Down
8 changes: 4 additions & 4 deletions lldb/tools/driver/Driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@
#include <thread>
#include <utility>

#include <climits>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <fcntl.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

// Includes for pipe()
#if defined(_WIN32)
Expand Down
4 changes: 2 additions & 2 deletions lldb/tools/driver/Platform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
// this file is only relevant for Visual C++
#if defined(_WIN32)

#include <assert.h>
#include <cassert>
#include <cstdlib>
#include <process.h>
#include <stdlib.h>

#include "Platform.h"
#include "llvm/Support/ErrorHandling.h"
Expand Down
6 changes: 3 additions & 3 deletions lldb/tools/driver/Platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@

#include <io.h>
#if defined(_MSC_VER)
#include <signal.h>
#include <csignal>
#endif
#if HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include "lldb/Host/windows/windows.h"
#include <inttypes.h>
#include <cinttypes>

struct winsize {
long ws_col;
Expand Down Expand Up @@ -76,7 +76,7 @@ extern int tcsetattr(int fd, int optional_actions,
extern int tcgetattr(int fildes, struct termios *termios_p);

#else
#include <inttypes.h>
#include <cinttypes>

#include <libgen.h>
#include <sys/ioctl.h>
Expand Down
12 changes: 6 additions & 6 deletions lldb/tools/lldb-server/lldb-gdbserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
//
//===----------------------------------------------------------------------===//

#include <errno.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <cerrno>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <cstring>

#ifndef _WIN32
#include <signal.h>
#include <csignal>
#include <unistd.h>
#endif

Expand Down
12 changes: 6 additions & 6 deletions lldb/tools/lldb-server/lldb-platform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
//
//===----------------------------------------------------------------------===//

#include <errno.h>
#include <cerrno>
#if defined(__APPLE__)
#include <netinet/in.h>
#endif
#include <signal.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <csignal>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#if !defined(_WIN32)
#include <sys/wait.h>
#endif
Expand Down
4 changes: 2 additions & 2 deletions lldb/tools/lldb-server/lldb-server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
#include "llvm/Support/PrettyStackTrace.h"
#include "llvm/Support/Signals.h"

#include <stdio.h>
#include <stdlib.h>
#include <cstdio>
#include <cstdlib>

static llvm::ManagedStatic<lldb_private::SystemLifetimeManager>
g_debugger_lifetime;
Expand Down
2 changes: 1 addition & 1 deletion lldb/tools/lldb-vscode/JSONUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "lldb/API/SBModule.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/JSON.h"
#include <stdint.h>
#include <cstdint>

namespace lldb_vscode {

Expand Down
2 changes: 1 addition & 1 deletion lldb/tools/lldb-vscode/VSCode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
//===----------------------------------------------------------------------===//

#include <chrono>
#include <cstdarg>
#include <fstream>
#include <mutex>
#include <sstream>
#include <stdarg.h>

#include "LLDBUtils.h"
#include "VSCode.h"
Expand Down
2 changes: 1 addition & 1 deletion lldb/tools/lldb-vscode/VSCode.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
#include "llvm/Config/llvm-config.h" // for LLVM_ON_UNIX

#include <condition_variable>
#include <cstdio>
#include <iosfwd>
#include <map>
#include <set>
#include <stdio.h>
#include <thread>

#include "llvm/ADT/DenseMap.h"
Expand Down
12 changes: 6 additions & 6 deletions lldb/tools/lldb-vscode/lldb-vscode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@

#include "VSCode.h"

#include <assert.h>
#include <limits.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <cassert>
#include <climits>
#include <cstdarg>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <sys/stat.h>
#include <sys/types.h>
#if defined(_WIN32)
Expand Down