1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

TGLexer.h - cleanup includes and forward declarations. NFC.

Replace ArrayRef.h with a forward declaration and include in ArrayRef.cpp
Remove SMLoc forward declaration as we already have to include SMLoc.h
This commit is contained in:
Simon Pilgrim 2020-04-20 17:47:54 +01:00
parent 03c8087cf9
commit 667c8b4b59
2 changed files with 2 additions and 2 deletions

View File

@ -11,6 +11,7 @@
//===----------------------------------------------------------------------===//
#include "TGLexer.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Config/config.h" // for strtoull()/strtoll() define

View File

@ -13,7 +13,6 @@
#ifndef LLVM_LIB_TABLEGEN_TGLEXER_H
#define LLVM_LIB_TABLEGEN_TGLEXER_H
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/StringSet.h"
#include "llvm/Support/DataTypes.h"
@ -24,8 +23,8 @@
#include <string>
namespace llvm {
template <typename T> class ArrayRef;
class SourceMgr;
class SMLoc;
class Twine;
namespace tgtok {