From 3d5cd01d377b939dabf55ddff67a2d4bd57bbb63 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Tue, 22 Apr 2014 02:28:45 +0000 Subject: [PATCH] [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 --- lib/Target/AArch64/AArch64Subtarget.h | 3 +-- lib/Target/NVPTX/NVPTXSubtarget.h | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) 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 { -- 2.34.1