1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00

Revert rGca18ce1a00cd8b7cb7ce0e130440f5ae1ffe86ee "GlobPattern.h - remove unnecessary BitVector.h/StringRef.h includes. NFC"

Causes lld build errors
This commit is contained in:
Simon Pilgrim 2020-05-17 18:51:21 +01:00
parent dc62775ff9
commit 9aba16961d
4 changed files with 3 additions and 5 deletions

View File

@ -14,16 +14,16 @@
#ifndef LLVM_SUPPORT_GLOB_PATTERN_H #ifndef LLVM_SUPPORT_GLOB_PATTERN_H
#define LLVM_SUPPORT_GLOB_PATTERN_H #define LLVM_SUPPORT_GLOB_PATTERN_H
#include "llvm/ADT/BitVector.h"
#include "llvm/ADT/Optional.h" #include "llvm/ADT/Optional.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Error.h" #include "llvm/Support/Error.h"
#include <vector> #include <vector>
// This class represents a glob pattern. Supported metacharacters // This class represents a glob pattern. Supported metacharacters
// are "*", "?", "\", "[<chars>]", "[^<chars>]", and "[!<chars>]". // are "*", "?", "\", "[<chars>]", "[^<chars>]", and "[!<chars>]".
namespace llvm { namespace llvm {
class BitVector; class BitVector;
class StringRef;
template <typename T> class ArrayRef; template <typename T> class ArrayRef;
class GlobPattern { class GlobPattern {

View File

@ -12,7 +12,6 @@
#include "llvm/Support/GlobPattern.h" #include "llvm/Support/GlobPattern.h"
#include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/BitVector.h"
#include "llvm/ADT/Optional.h" #include "llvm/ADT/Optional.h"
#include "llvm/ADT/StringRef.h" #include "llvm/ADT/StringRef.h"
#include "llvm/Support/Errc.h" #include "llvm/Support/Errc.h"

View File

@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#include "CopyConfig.h" #include "CopyConfig.h"
#include "llvm/ADT/BitVector.h"
#include "llvm/ADT/Optional.h" #include "llvm/ADT/Optional.h"
#include "llvm/ADT/SmallVector.h" #include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h" #include "llvm/ADT/StringRef.h"

View File

@ -7,7 +7,6 @@
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#include "llvm/Support/GlobPattern.h" #include "llvm/Support/GlobPattern.h"
#include "llvm/ADT/BitVector.h"
#include "gtest/gtest.h" #include "gtest/gtest.h"
using namespace llvm; using namespace llvm;