#ifndef LLD_COMMON_LLVM_H
#define LLD_COMMON_LLVM_H
#include "llvm/ADT/Hashing.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Casting.h"
#include <utility>
namespace llvm {
class raw_ostream;
class Error;
class StringRef;
class Twine;
class MemoryBuffer;
class MemoryBufferRef;
template <typename T> class ArrayRef;
template <typename T> class MutableArrayRef;
template <unsigned InternalLen> class SmallString;
template <typename T, unsigned N> class SmallVector;
template <typename T> class ErrorOr;
template <typename T> class Expected;
namespace object {
class WasmObjectFile;
struct WasmSection;
struct WasmSegment;
class WasmSymbol;
}
namespace wasm {
struct WasmTag;
struct WasmFunction;
struct WasmGlobal;
struct WasmGlobalType;
struct WasmInitExpr;
struct WasmLimits;
struct WasmRelocation;
struct WasmSignature;
struct WasmTable;
struct WasmTableType;
}
}
namespace lld {
llvm::raw_ostream &outs();
llvm::raw_ostream &errs();
cast;
cast_or_null;
dyn_cast;
dyn_cast_or_null;
isa;
ArrayRef;
MutableArrayRef;
Error;
ErrorOr;
Expected;
MemoryBuffer;
MemoryBufferRef;
raw_ostream;
SmallString;
SmallVector;
StringRef;
Twine;
WasmObjectFile;
WasmSection;
WasmSegment;
WasmSymbol;
WasmFunction;
WasmGlobal;
WasmGlobalType;
WasmInitExpr;
WasmLimits;
WasmRelocation;
WasmSignature;
WasmTable;
WasmTableType;
WasmTag;
}
namespace std {
template <> struct hash<llvm::StringRef> { … };
}
#endif