forked from OSchip/llvm-project
ItaniumManglingCanonicalizer - reduce StringRef.h include to forward declaration + remove duplicate includes. NFC
This commit is contained in:
parent
7283ec0170
commit
c60c80e0cf
|
@ -14,11 +14,12 @@
|
||||||
#ifndef LLVM_SUPPORT_ITANIUMMANGLINGCANONICALIZER_H
|
#ifndef LLVM_SUPPORT_ITANIUMMANGLINGCANONICALIZER_H
|
||||||
#define LLVM_SUPPORT_ITANIUMMANGLINGCANONICALIZER_H
|
#define LLVM_SUPPORT_ITANIUMMANGLINGCANONICALIZER_H
|
||||||
|
|
||||||
#include "llvm/ADT/StringRef.h"
|
|
||||||
|
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
||||||
|
class StringRef;
|
||||||
|
|
||||||
/// Canonicalizer for mangled names.
|
/// Canonicalizer for mangled names.
|
||||||
///
|
///
|
||||||
/// This class allows specifying a list of "equivalent" manglings. For example,
|
/// This class allows specifying a list of "equivalent" manglings. For example,
|
||||||
|
|
|
@ -7,16 +7,12 @@
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
#include "llvm/Support/ItaniumManglingCanonicalizer.h"
|
#include "llvm/Support/ItaniumManglingCanonicalizer.h"
|
||||||
|
#include "llvm/ADT/DenseMap.h"
|
||||||
#include "llvm/ADT/FoldingSet.h"
|
#include "llvm/ADT/FoldingSet.h"
|
||||||
#include "llvm/ADT/StringRef.h"
|
#include "llvm/ADT/StringRef.h"
|
||||||
#include "llvm/Demangle/ItaniumDemangle.h"
|
#include "llvm/Demangle/ItaniumDemangle.h"
|
||||||
#include "llvm/Support/Allocator.h"
|
#include "llvm/Support/Allocator.h"
|
||||||
|
|
||||||
#include "llvm/ADT/DenseMap.h"
|
|
||||||
#include "llvm/ADT/FoldingSet.h"
|
|
||||||
#include "llvm/ADT/StringRef.h"
|
|
||||||
|
|
||||||
using namespace llvm;
|
using namespace llvm;
|
||||||
using llvm::itanium_demangle::ForwardTemplateReference;
|
using llvm::itanium_demangle::ForwardTemplateReference;
|
||||||
using llvm::itanium_demangle::Node;
|
using llvm::itanium_demangle::Node;
|
||||||
|
|
Loading…
Reference in New Issue