diff options
author | Dylan Noblesmith <nobled@dreamwidth.org> | 2011-06-23 12:45:54 +0000 |
---|---|---|
committer | Dylan Noblesmith <nobled@dreamwidth.org> | 2011-06-23 12:45:54 +0000 |
commit | 5417eed2014a2fb46057bdd9931e878968b810dc (patch) | |
tree | 60ed5762e4de9e4d7eb29c201d6fd3ab8e138735 | |
parent | 4e5885dc0f6aa0d5e095d79996955042d7b82b8d (diff) | |
download | llvm-5417eed2014a2fb46057bdd9931e878968b810dc.tar.gz llvm-5417eed2014a2fb46057bdd9931e878968b810dc.tar.bz2 llvm-5417eed2014a2fb46057bdd9931e878968b810dc.tar.xz |
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
-rw-r--r-- | lib/Analysis/ConstantFolding.cpp | 3 | ||||
-rw-r--r-- | lib/Analysis/FEnv.h (renamed from include/llvm/Support/FEnv.h) | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/Analysis/ConstantFolding.cpp b/lib/Analysis/ConstantFolding.cpp index b5fafd685c..b64f3b90e0 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 <cerrno> #include <cmath> + +#include "FEnv.h" using namespace llvm; //===----------------------------------------------------------------------===// diff --git a/include/llvm/Support/FEnv.h b/lib/Analysis/FEnv.h index f6f43337bd..c2968fd6a3 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 // |