Skip to content

Commit

Permalink
ItaniumManglingCanonicalizer - reduce StringRef.h include to forward …
Browse files Browse the repository at this point in the history
…declaration + remove duplicate includes. NFC
  • Loading branch information
RKSimon committed May 8, 2020
1 parent 7283ec0 commit c60c80e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
5 changes: 3 additions & 2 deletions llvm/include/llvm/Support/ItaniumManglingCanonicalizer.h
Expand Up @@ -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,
Expand Down
6 changes: 1 addition & 5 deletions llvm/lib/Support/ItaniumManglingCanonicalizer.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit c60c80e

Please sign in to comment.