1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/include/llvm-c
Raphael Isemann 06e7d50498 Fix broken HUGE_VALF macro in llvm-c/DataTypes.h
Commit 3a29393b4709d15069130119cf1d136af4a92d77 removes the cmath/math.h
includes from the DataTypes.h header to speed up parsing. However the
DataTypes.h header was using this header to get the macro `HUGE_VAL` for its own
`HUGE_VALF` macro definition. Now the macro instead just expands into a plain
`HUGE_VAL` token which leads to compiler errors unless `math.h` was previously
included by the including source file. It also leads to compiler warnings with
enabled module builds which point out this inconsistency.

The correct way to fix this seems to be to just remove HUGE_VALF from the
header. llvm-c is not referencing that macro from what I can see and users
probably should just include the math headers if they need it (or define it on
their own for really old C versions).

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D83761
2020-09-03 09:50:32 +02:00
..
Transforms [Bindings] Add LLVMAddInstructionSimplifyPass 2020-09-01 12:38:49 -07:00
Analysis.h
BitReader.h
BitWriter.h
Comdat.h
Core.h [BFloat] Move LLVMBFloatTypeKind to the end of the enum 2020-06-19 01:51:44 +01:00
DataTypes.h Fix broken HUGE_VALF macro in llvm-c/DataTypes.h 2020-09-03 09:50:32 +02:00
DebugInfo.h [DebugInfo][flang]Added support for representing Fortran assumed length strings 2020-08-22 10:13:40 +05:30
Disassembler.h
DisassemblerTypes.h
Error.h
ErrorHandling.h
ExecutionEngine.h [MCJIT] Check for RuntimeDyld errors in MCJIT::finalizeLoadedModules. 2020-03-13 13:58:41 -07:00
ExternC.h
Initialization.h
IRReader.h
Linker.h
LinkTimeOptimizer.h
lto.h [LTO][Legacy] Add new API to query Mach-O CPU (sub)type 2020-02-28 12:56:05 -08:00
module.modulemap
Object.h
Orc.h [ORC] Add an OrcV2 C API function for configuring TargetMachines. 2020-04-10 15:51:29 -07:00
OrcBindings.h
Remarks.h
Support.h
Target.h
TargetMachine.h
Types.h