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 ca18ce1a00
commit 090cf4591f
4 changed files with 3 additions and 5 deletions
+2 -2
View File
@@ -14,16 +14,16 @@
#ifndef LLVM_SUPPORT_GLOB_PATTERN_H
#define LLVM_SUPPORT_GLOB_PATTERN_H
#include "llvm/ADT/BitVector.h"
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Error.h"
#include <vector>
// This class represents a glob pattern. Supported metacharacters
// are "*", "?", "\", "[<chars>]", "[^<chars>]", and "[!<chars>]".
namespace llvm {
class BitVector;
class StringRef;
template <typename T> class ArrayRef;
class GlobPattern {
-1
View File
@@ -12,7 +12,6 @@
#include "llvm/Support/GlobPattern.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/BitVector.h"
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Errc.h"
+1 -1
View File
@@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//
#include "CopyConfig.h"
#include "llvm/ADT/BitVector.h"
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
@@ -7,7 +7,6 @@
//===----------------------------------------------------------------------===//
#include "llvm/Support/GlobPattern.h"
#include "llvm/ADT/BitVector.h"
#include "gtest/gtest.h"
using namespace llvm;