Move DataTypes.h from Support to llvm-c to fix layering.
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 21 Mar 2018 00:48:05 +0000 (00:48 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 21 Mar 2018 00:48:05 +0000 (00:48 +0000)
commit1963e4b9c5ae0a32dcca77567cbe3e5656e64036
tree317e373183c435c67b9ed57c074cf05b989b7d39
parent4a6f3c471040807e0ef6534893fdc3fbcdd796a4
Move DataTypes.h from Support to llvm-c to fix layering.

Support depends on llvm-c (a few typedefs, macros, etc - Types.h,
Disassembler.h, and TargetMachine.h.

This could be done the other way - those macros/typedefs/etc could be
moved into Support and used from llvm-c instead. If someone feels that's
a better direction to go, happy to discuss it/try it out/etc.

llvm-svn: 328065
llvm/CMakeLists.txt
llvm/include/llvm-c/DataTypes.h.cmake [moved from llvm/include/llvm/Support/DataTypes.h.cmake with 92% similarity]
llvm/include/llvm/Support/DataTypes.h [new file with mode: 0644]