forked from OSchip/llvm-project
Parser.h/cpp - cleanup includes and forward declaration. NFC.
Parser.h - Reduce MemoryBuffer.h include to just the necessary StringRef.h include and MemoryBufferRef forward declaration Parser.cpp - Remove unused raw_ostream.h include
This commit is contained in:
parent
ee66b5b0da
commit
b9a8e787ae
|
@ -13,12 +13,14 @@
|
|||
#ifndef LLVM_ASMPARSER_PARSER_H
|
||||
#define LLVM_ASMPARSER_PARSER_H
|
||||
|
||||
#include "llvm/Support/MemoryBuffer.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include <memory>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class Constant;
|
||||
class LLVMContext;
|
||||
class MemoryBufferRef;
|
||||
class Module;
|
||||
class ModuleSummaryIndex;
|
||||
struct SlotMapping;
|
||||
|
|
|
@ -17,9 +17,9 @@
|
|||
#include "llvm/IR/ModuleSummaryIndex.h"
|
||||
#include "llvm/Support/MemoryBuffer.h"
|
||||
#include "llvm/Support/SourceMgr.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include <cstring>
|
||||
#include <system_error>
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
bool llvm::parseAssemblyInto(MemoryBufferRef F, Module *M,
|
||||
|
|
Loading…
Reference in New Issue