[llvm] r328073 - Fix the actual user of DataTypes.h in llvm-c to avoid the circular dependency

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 20 21:07:07 PDT 2018


Author: dblaikie
Date: Tue Mar 20 21:07:07 2018
New Revision: 328073

URL: http://llvm.org/viewvc/llvm-project?rev=328073&view=rev
Log:
Fix the actual user of DataTypes.h in llvm-c to avoid the circular dependency

(follow-up to r328065)

Modified:
    llvm/trunk/include/llvm-c/Support.h

Modified: llvm/trunk/include/llvm-c/Support.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm-c/Support.h?rev=328073&r1=328072&r2=328073&view=diff
==============================================================================
--- llvm/trunk/include/llvm-c/Support.h (original)
+++ llvm/trunk/include/llvm-c/Support.h Tue Mar 20 21:07:07 2018
@@ -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" {




More information about the llvm-commits mailing list