1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

ItaniumManglingCanonicalizer - reduce StringRef.h include to forward declaration + remove duplicate includes. NFC

This commit is contained in:
Simon Pilgrim 2020-05-08 13:02:57 +01:00
parent 518a11bdb4
commit 28d79263fc
2 changed files with 4 additions and 7 deletions

View File

@ -14,11 +14,12 @@
#ifndef LLVM_SUPPORT_ITANIUMMANGLINGCANONICALIZER_H
#define LLVM_SUPPORT_ITANIUMMANGLINGCANONICALIZER_H
#include "llvm/ADT/StringRef.h"
#include <cstddef>
namespace llvm {
class StringRef;
/// Canonicalizer for mangled names.
///
/// This class allows specifying a list of "equivalent" manglings. For example,

View File

@ -7,16 +7,12 @@
//===----------------------------------------------------------------------===//
#include "llvm/Support/ItaniumManglingCanonicalizer.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/FoldingSet.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Demangle/ItaniumDemangle.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 llvm::itanium_demangle::ForwardTemplateReference;
using llvm::itanium_demangle::Node;