From: Chandler Carruth Date: Tue, 22 Apr 2014 02:28:45 +0000 (+0000) Subject: [cleanup] Fix two headers where we included a standard library header X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=3d5cd01d377b939dabf55ddff67a2d4bd57bbb63 [cleanup] Fix two headers where we included a standard library header after including the generated code from tablegen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206841 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/AArch64/AArch64Subtarget.h b/lib/Target/AArch64/AArch64Subtarget.h index 45e5a5eb063..8cd346e839b 100644 --- a/lib/Target/AArch64/AArch64Subtarget.h +++ b/lib/Target/AArch64/AArch64Subtarget.h @@ -16,12 +16,11 @@ #include "llvm/ADT/Triple.h" #include "llvm/Target/TargetSubtargetInfo.h" +#include #define GET_SUBTARGETINFO_HEADER #include "AArch64GenSubtargetInfo.inc" -#include - namespace llvm { class StringRef; class GlobalValue; diff --git a/lib/Target/NVPTX/NVPTXSubtarget.h b/lib/Target/NVPTX/NVPTXSubtarget.h index efd6e40d722..581e5edbcfb 100644 --- a/lib/Target/NVPTX/NVPTXSubtarget.h +++ b/lib/Target/NVPTX/NVPTXSubtarget.h @@ -16,12 +16,11 @@ #include "NVPTX.h" #include "llvm/Target/TargetSubtargetInfo.h" +#include #define GET_SUBTARGETINFO_HEADER #include "NVPTXGenSubtargetInfo.inc" -#include - namespace llvm { class NVPTXSubtarget : public NVPTXGenSubtargetInfo {