1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 02:33:06 +01:00

[DebugInfo] Remove unnecessary <string> include dependency from DebugInfo headers. NFC.

At most these use the StringRef/Twine wrappers and don't have any implicit uses of std::string.

Move the include down to any cpp implementation where std::string is actually used.
This commit is contained in:
Simon Pilgrim 2021-07-17 16:55:51 +01:00
parent db4c85d791
commit cacf8c90b2
6 changed files with 2 additions and 8 deletions

View File

@ -11,8 +11,6 @@
#include "llvm/Support/Error.h"
#include <string>
namespace llvm {
namespace codeview {
enum class cv_error_code {

View File

@ -12,7 +12,6 @@
#include <functional>
#include <memory>
#include <mutex>
#include <string>
#include <thread>
#include "llvm/ADT/ArrayRef.h"

View File

@ -9,7 +9,6 @@
#ifndef LLVM_DEBUGINFO_GSYM_GSYMREADER_H
#define LLVM_DEBUGINFO_GSYM_GSYMREADER_H
#include "llvm/ADT/ArrayRef.h"
#include "llvm/DebugInfo/GSYM/FileEntry.h"
#include "llvm/DebugInfo/GSYM/FunctionInfo.h"
@ -19,11 +18,9 @@
#include "llvm/Support/DataExtractor.h"
#include "llvm/Support/Endian.h"
#include "llvm/Support/ErrorOr.h"
#include <inttypes.h>
#include <memory>
#include <stdint.h>
#include <string>
#include <vector>
namespace llvm {

View File

@ -11,8 +11,6 @@
#include "llvm/Support/Error.h"
#include <string>
namespace llvm {
namespace msf {
enum class msf_error_code {

View File

@ -9,6 +9,7 @@
#include "llvm/DebugInfo/CodeView/CodeViewError.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/ManagedStatic.h"
#include <string>
using namespace llvm;
using namespace llvm::codeview;

View File

@ -9,6 +9,7 @@
#include "llvm/DebugInfo/MSF/MSFError.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/ManagedStatic.h"
#include <string>
using namespace llvm;
using namespace llvm::msf;