1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/include/llvm-c
Bob Wilson 3277095910 Make sure macros in the include subdirectory are not used without being defined.
Rationale: For each preprocessor macro, either the definedness is what's
meaningful, or the value is what's meaningful, or both. If definedness is
meaningful, we should use #ifdef. If the value is meaningful, we should use
and #ifdef interchangeably for the same macro, seems ugly to me, even if
undefined macros are zero if used.

This also has the benefit that including an LLVM header doesn't prevent
you from compiling with -Wundef -Werror.

Patch by John Garvin!
<rdar://problem/12189979>

llvm-svn: 163148
2012-09-04 17:42:53 +00:00
..
Transforms
Analysis.h
BitReader.h
BitWriter.h
Core.h Make sure macros in the include subdirectory are not used without being defined. 2012-09-04 17:42:53 +00:00
Disassembler.h
EnhancedDisassembly.h
ExecutionEngine.h
Initialization.h
Linker.h
LinkTimeOptimizer.h
lto.h
Object.h
Target.h
TargetMachine.h