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 Organize LLVM C API docs into doxygen modules; add docs 2012-03-21 03:54:29 +00:00
Analysis.h Organize LLVM C API docs into doxygen modules; add docs 2012-03-21 03:54:29 +00:00
BitReader.h Organize LLVM C API docs into doxygen modules; add docs 2012-03-21 03:54:29 +00:00
BitWriter.h Organize LLVM C API docs into doxygen modules; add docs 2012-03-21 03:54:29 +00:00
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 Remove tabs. 2012-07-19 00:01:33 +00:00
EnhancedDisassembly.h Organize LLVM C API docs into doxygen modules; add docs 2012-03-21 03:54:29 +00:00
ExecutionEngine.h Organize LLVM C API docs into doxygen modules; add docs 2012-03-21 03:54:29 +00:00
Initialization.h Organize LLVM C API docs into doxygen modules; add docs 2012-03-21 03:54:29 +00:00
Linker.h Supply a C interface to the "LinkModules" method. 2012-05-09 08:55:40 +00:00
LinkTimeOptimizer.h Organize LLVM C API docs into doxygen modules; add docs 2012-03-21 03:54:29 +00:00
lto.h Remove lto_codegen_set_whole_program_optimization. It is a work in progress, 2012-04-16 10:58:38 +00:00
Object.h Organize LLVM C API docs into doxygen modules; add docs 2012-03-21 03:54:29 +00:00
Target.h [llvm-c] Make a few function declarations proper prototypes 2012-05-02 16:15:32 +00:00
TargetMachine.h Add a C binding to the Target and TargetMachine classes to allow for emitting 2012-04-11 10:25:24 +00:00