From 716a5875bcf29d577740b74125095efa3fcbb55c Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Fri, 24 Apr 2020 13:07:02 +0100 Subject: [PATCH] LLVMContextImpl.h - cleanup includes and forward declarations. NFC. Reduce StringRef.h include to forward declaration. Remove unnecessary ConstantFP/ConstantInt forward declarations as we have to include Constants.h --- llvm/lib/IR/LLVMContextImpl.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/llvm/lib/IR/LLVMContextImpl.h b/llvm/lib/IR/LLVMContextImpl.h index 26e08d2..52e9c06 100644 --- a/llvm/lib/IR/LLVMContextImpl.h +++ b/llvm/lib/IR/LLVMContextImpl.h @@ -29,7 +29,6 @@ #include "llvm/ADT/SmallPtrSet.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringMap.h" -#include "llvm/ADT/StringRef.h" #include "llvm/BinaryFormat/Dwarf.h" #include "llvm/IR/Constants.h" #include "llvm/IR/DebugInfoMetadata.h" @@ -53,8 +52,7 @@ namespace llvm { -class ConstantFP; -class ConstantInt; +class StringRef; class Type; class Value; class ValueHandleBase; -- 2.7.4