From 6b71233fb186c39b33345deee8c6f862f41003b8 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Wed, 8 Jan 2014 21:59:22 +0000 Subject: [PATCH] Remove vestigal bits of MC from the mangler. It no longer uses this, and having the include could cause weird layering problems between the IR and MC libraries. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198796 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/IR/Mangler.h | 1 - lib/IR/Mangler.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/include/llvm/IR/Mangler.h b/include/llvm/IR/Mangler.h index 865582ac318..d4a95598196 100644 --- a/include/llvm/IR/Mangler.h +++ b/include/llvm/IR/Mangler.h @@ -20,7 +20,6 @@ namespace llvm { class DataLayout; class GlobalValue; -class MCContext; template class SmallVectorImpl; class Twine; diff --git a/lib/IR/Mangler.cpp b/lib/IR/Mangler.cpp index faa4c8fe71e..d3b53a9bddc 100644 --- a/lib/IR/Mangler.cpp +++ b/lib/IR/Mangler.cpp @@ -17,7 +17,6 @@ #include "llvm/IR/DataLayout.h" #include "llvm/IR/DerivedTypes.h" #include "llvm/IR/Function.h" -#include "llvm/MC/MCContext.h" #include "llvm/Support/raw_ostream.h" using namespace llvm; -- 2.34.1