From 5417eed2014a2fb46057bdd9931e878968b810dc Mon Sep 17 00:00:00 2001 From: Dylan Noblesmith Date: Thu, 23 Jun 2011 12:45:54 +0000 Subject: [PATCH] Support: make floating-exception header private It has only one user. This eliminates the last include of config.h from the public headers -- ideally, config.h shouldn't even be installed by `make install` anymore. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133713 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/ConstantFolding.cpp | 3 ++- {include/llvm/Support => lib/Analysis}/FEnv.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) rename {include/llvm/Support => lib/Analysis}/FEnv.h (94%) diff --git a/lib/Analysis/ConstantFolding.cpp b/lib/Analysis/ConstantFolding.cpp index b5fafd685cd..b64f3b90e0b 100644 --- a/lib/Analysis/ConstantFolding.cpp +++ b/lib/Analysis/ConstantFolding.cpp @@ -31,9 +31,10 @@ #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/GetElementPtrTypeIterator.h" #include "llvm/Support/MathExtras.h" -#include "llvm/Support/FEnv.h" #include #include + +#include "FEnv.h" using namespace llvm; //===----------------------------------------------------------------------===// diff --git a/include/llvm/Support/FEnv.h b/lib/Analysis/FEnv.h similarity index 94% rename from include/llvm/Support/FEnv.h rename to lib/Analysis/FEnv.h index f6f43337bd2..c2968fd6a30 100644 --- a/include/llvm/Support/FEnv.h +++ b/lib/Analysis/FEnv.h @@ -1,4 +1,4 @@ -//===- llvm/Support/FEnv.h - Host floating-point exceptions ------*- C++ -*-===// +//===- FEnv.h - Host floating-point exceptions ------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure //