From 1e592cba6bc1930e7a01dde8370e5345cef05723 Mon Sep 17 00:00:00 2001 From: Dale Johannesen Date: Fri, 29 Oct 2010 23:24:33 +0000 Subject: [PATCH] Handle Type.h a better way. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117743 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Basic/TargetInfo.h | 2 +- lib/Basic/Targets.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/clang/Basic/TargetInfo.h b/include/clang/Basic/TargetInfo.h index 2912bc92aa..789761aa09 100644 --- a/include/clang/Basic/TargetInfo.h +++ b/include/clang/Basic/TargetInfo.h @@ -19,7 +19,6 @@ #include "llvm/ADT/StringSwitch.h" #include "llvm/ADT/Triple.h" #include "llvm/System/DataTypes.h" -#include "llvm/Type.h" #include #include #include @@ -28,6 +27,7 @@ namespace llvm { struct fltSemantics; class StringRef; class LLVMContext; +class Type; } namespace clang { diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 631aa1f33d..0bab0d247c 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -26,6 +26,7 @@ #include "llvm/ADT/StringSwitch.h" #include "llvm/ADT/Triple.h" #include "llvm/MC/MCSectionMachO.h" +#include "llvm/Type.h" #include using namespace clang; -- 2.40.0