summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c/Support.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2018-03-21 17:31:49 +0000
committerDavid Blaikie <dblaikie@gmail.com>2018-03-21 17:31:49 +0000
commit99e172532c637181f672c87a670a0b30df79145f (patch)
tree7168ed9faf5b037fef6d5cd140dbd9b2162723b4 /llvm/include/llvm-c/Support.h
parente70cbb03b01eaa45bd32c2260f9b00ceb63a16a1 (diff)
downloadbcm5719-llvm-99e172532c637181f672c87a670a0b30df79145f.tar.gz
bcm5719-llvm-99e172532c637181f672c87a670a0b30df79145f.zip
Reapply Support layering fixes.
Compiler.h is used by Demangle (which Support depends on) - so sink it into Demangle to avoid a circular dependency DataTypes.h is used by llvm-c (which Support depends on) - so sink it into llvm-c. DataTypes.h could probably be fixed the other way - making llvm-c depend on Support instead of Support depending on llvm-c - if anyone feels that's the better option, happy to work with them on that. I /think/ this'll address the layering issues that previous attempts to commit this have triggered in the Modules buildbot, but I haven't been able to reproduce that build so can't say for sure. If anyone's having trouble with this - it might be worth taking a look to see if there's a quick fix/something small I missed rather than revert, but no worries. llvm-svn: 328123
Diffstat (limited to 'llvm/include/llvm-c/Support.h')
-rw-r--r--llvm/include/llvm-c/Support.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm-c/Support.h b/llvm/include/llvm-c/Support.h
index 6de184ccab4..37d5d72ff5d 100644
--- a/llvm/include/llvm-c/Support.h
+++ b/llvm/include/llvm-c/Support.h
@@ -14,8 +14,8 @@
#ifndef LLVM_C_SUPPORT_H
#define LLVM_C_SUPPORT_H
+#include "llvm-c/DataTypes.h"
#include "llvm-c/Types.h"
-#include "llvm/Support/DataTypes.h"
#ifdef __cplusplus
extern "C" {
OpenPOWER on IntegriCloud