diff options
author | Mikhail Maltsev <mikhail.maltsev@arm.com> | 2018-02-22 09:34:08 +0000 |
---|---|---|
committer | Mikhail Maltsev <mikhail.maltsev@arm.com> | 2018-02-22 09:34:08 +0000 |
commit | 61ccaf6ddd923e80358b96d59e78f9475a1ed065 (patch) | |
tree | dc27b8edd2651b75b3aa466db5cef220383ae28e /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 26e943106b5cc6bc08d7c14068ff3526cf9faf9b (diff) | |
download | bcm5719-llvm-61ccaf6ddd923e80358b96d59e78f9475a1ed065.tar.gz bcm5719-llvm-61ccaf6ddd923e80358b96d59e78f9475a1ed065.zip |
[libcxx] Do not include the C math.h header before __config
Summary:
Certain C libraries require configuration macros defined in __config
to provide the correct functionality for libc++. This patch ensures
that the C header math.h is always included after the __config
header. It also adds a Windows-specific #if guard for the case when
the C math.h file is included the second time, as suggested by
Marshall in https://reviews.llvm.org/rL323490.
Fixes PR36382.
Reviewers: mclow.lists, EricWF
Reviewed By: mclow.lists
Subscribers: cfe-commits, pcc, christof, rogfer01
Differential Revision: https://reviews.llvm.org/D43579
llvm-svn: 325760
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions