summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-06-09 18:28:53 +0000
committerAlp Toker <alp@nuanti.com>2014-06-09 18:28:53 +0000
commitf4cf404837d962c67501ee0e07028801c9b10b6d (patch)
tree0bbc516fd88d7cb75dcb07eab6776e5a72f43a4d /lib/Bitcode/Reader/BitcodeReader.cpp
parent7ffad46ea7edc8a6fa6fd7555c08387faacb8594 (diff)
downloadllvm-f4cf404837d962c67501ee0e07028801c9b10b6d.tar.gz
llvm-f4cf404837d962c67501ee0e07028801c9b10b6d.tar.bz2
llvm-f4cf404837d962c67501ee0e07028801c9b10b6d.tar.xz
Fold FEnv.h into the implementation
Support headers shouldn't use config.h definitions, and they should never be undefined like this. ConstantFolding.cpp was the only user of this facility and already includes config.h for other math features, so it makes sense to move the checks there at point of use. (The implicit config.h was also quite dangerous -- removing the FEnv.h include would have silently disabled math constant folding without causing any tests to fail. Need to investigate -Wundef once the cleanup is done.) This eliminates the last config.h include from LLVM headers, paving the way for more consistent configuration checks. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210483 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions