Move Function/BasicBlock to core and clean up includes
authorChristoph Egger <Christoph.Egger@fau.de>
Fri, 20 Feb 2015 16:03:45 +0000 (17:03 +0100)
committerChristoph Egger <Christoph.Egger@fau.de>
Fri, 20 Feb 2015 16:03:45 +0000 (17:03 +0100)
commit32e87746db981882b95aceddde79ef12034a3405
tree6ea3bc7442b9e39f14aeb20db47bdb29f5525bd0
parentbc07dbf3889f93f65c4b73f911aa280afdd906fb
Move Function/BasicBlock to core and clean up includes

Function and BasicBlock are considered part od the Data Model and part
of the core. Move them there.

Also remove lots of #include from the headers and replace them by
forward declarations. This should make compilation units smaller and
remove the huge number of users for each header -- speeding up
compilation and making users explicitely include stuff they use.
15 files changed:
src/core/BasicBlock.hxx [new file with mode: 0644]
src/core/Function.hxx [new file with mode: 0644]
src/core/InformationManager.cxx
src/core/InformationManager.hxx
src/disassembler/BasicBlock.hxx [deleted file]
src/disassembler/Disassembler.hxx
src/disassembler/Function.hxx [deleted file]
src/disassembler/llvm/LLVMBasicBlock.hxx
src/disassembler/llvm/LLVMDisassembler.cxx
src/disassembler/llvm/LLVMDisassembler.hxx
src/disassembler/llvm/LLVMFunction.hxx
src/gui/Mainwindow.cxx
src/gui/Mainwindow.hxx
src/gui/widgets/BasicBlockWidget.cxx
src/gui/widgets/BasicBlockWidget.hxx