LLLexer.h - reduce SourceMgr.h include to SMLoc.h. NFC

We only need the SMLoc definition and the SourceMgr forward declaration.
This commit is contained in:
Simon Pilgrim 2020-04-24 12:37:25 +01:00
parent fd8035cf32
commit e5fe6cc251
1 changed files with 2 additions and 1 deletions

View File

@ -16,12 +16,13 @@
#include "LLToken.h"
#include "llvm/ADT/APFloat.h"
#include "llvm/ADT/APSInt.h"
#include "llvm/Support/SourceMgr.h"
#include "llvm/Support/SMLoc.h"
#include <string>
namespace llvm {
class Type;
class SMDiagnostic;
class SourceMgr;
class LLVMContext;
class LLLexer {