OSDN Git Service

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)
commit18c08d4a366306ff3d97a860e4ebc175e7dccaaf
treec7e5882c0b4c056da8bd29c4b184e529d30cd728
parent2c3cc29d17adb98c0df9cab94bb75d4816883c8e
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@328065 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt
include/llvm-c/DataTypes.h.cmake [moved from include/llvm/Support/DataTypes.h.cmake with 92% similarity]
include/llvm/Support/DataTypes.h [new file with mode: 0644]