[LLVMdev] APFloat.h header file usage

Reid Spencer rspencer at reidspencer.com
Sat Dec 8 01:13:35 PST 2007


Hi,

I'm trying to separate the Support, System, ADT and Config header files
into the support module, per previous plans. However, APFloat.h is not
self-contained:

APFloat.h:105:43: error: llvm/Bitcode/SerializationFwd.h: No such file
or directory
APFloat.h:106:37: error: llvm/CodeGen/ValueTypes.h: No such file or
directory

As you can see, APFloat.h depends on things that are not in the ADT,
Support, or System header files. This, in my mind, constitutes a design
flaw. Can we move the functionality that depends on these header files
elsewhere?

Reid.




More information about the llvm-dev mailing list