Make llvm-c header use local includes

This commit is contained in:
gingerBill
2020-09-18 13:18:28 +01:00
parent 10afc58d7d
commit 20e4548999
26 changed files with 33 additions and 33 deletions
+1 -1
View File
@@ -19,7 +19,7 @@
#ifndef LLVM_C_ANALYSIS_H
#define LLVM_C_ANALYSIS_H
#include "llvm-c/Types.h"
#include "Types.h"
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -19,7 +19,7 @@
#ifndef LLVM_C_BITREADER_H
#define LLVM_C_BITREADER_H
#include "llvm-c/Types.h"
#include "Types.h"
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -19,7 +19,7 @@
#ifndef LLVM_C_BITWRITER_H
#define LLVM_C_BITWRITER_H
#include "llvm-c/Types.h"
#include "Types.h"
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -14,7 +14,7 @@
#ifndef LLVM_C_COMDAT_H
#define LLVM_C_COMDAT_H
#include "llvm-c/Types.h"
#include "Types.h"
#ifdef __cplusplus
extern "C" {
+2 -2
View File
@@ -15,8 +15,8 @@
#ifndef LLVM_C_CORE_H
#define LLVM_C_CORE_H
#include "llvm-c/ErrorHandling.h"
#include "llvm-c/Types.h"
#include "ErrorHandling.h"
#include "Types.h"
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -16,7 +16,7 @@
#ifndef LLVM_C_DEBUGINFO_H
#define LLVM_C_DEBUGINFO_H
#include "llvm-c/Core.h"
#include "Core.h"
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -15,7 +15,7 @@
#ifndef LLVM_C_DISASSEMBLER_H
#define LLVM_C_DISASSEMBLER_H
#include "llvm-c/DisassemblerTypes.h"
#include "DisassemblerTypes.h"
/**
* @defgroup LLVMCDisassembler Disassembler
+1 -1
View File
@@ -10,7 +10,7 @@
#ifndef LLVM_DISASSEMBLER_TYPES_H
#define LLVM_DISASSEMBLER_TYPES_H
#include "llvm-c/DataTypes.h"
#include "DataTypes.h"
#ifdef __cplusplus
#include <cstddef>
#else
+3 -3
View File
@@ -19,9 +19,9 @@
#ifndef LLVM_C_EXECUTIONENGINE_H
#define LLVM_C_EXECUTIONENGINE_H
#include "llvm-c/Target.h"
#include "llvm-c/TargetMachine.h"
#include "llvm-c/Types.h"
#include "Target.h"
#include "TargetMachine.h"
#include "Types.h"
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -14,7 +14,7 @@
#ifndef LLVM_C_IRREADER_H
#define LLVM_C_IRREADER_H
#include "llvm-c/Types.h"
#include "Types.h"
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -16,7 +16,7 @@
#ifndef LLVM_C_INITIALIZATION_H
#define LLVM_C_INITIALIZATION_H
#include "llvm-c/Types.h"
#include "Types.h"
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -14,7 +14,7 @@
#ifndef LLVM_C_LINKER_H
#define LLVM_C_LINKER_H
#include "llvm-c/Types.h"
#include "Types.h"
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -19,7 +19,7 @@
#ifndef LLVM_C_OBJECT_H
#define LLVM_C_OBJECT_H
#include "llvm-c/Types.h"
#include "Types.h"
#include "Config/llvm-config.h"
#ifdef __cplusplus
+3 -3
View File
@@ -22,9 +22,9 @@
#ifndef LLVM_C_ORCBINDINGS_H
#define LLVM_C_ORCBINDINGS_H
#include "llvm-c/Error.h"
#include "llvm-c/Object.h"
#include "llvm-c/TargetMachine.h"
#include "Error.h"
#include "Object.h"
#include "TargetMachine.h"
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -15,7 +15,7 @@
#ifndef LLVM_C_REMARKS_H
#define LLVM_C_REMARKS_H
#include "llvm-c/Types.h"
#include "Types.h"
#ifdef __cplusplus
#include <cstddef>
extern "C" {
+2 -2
View File
@@ -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 "DataTypes.h"
#include "Types.h"
#ifdef __cplusplus
extern "C" {
+2 -2
View File
@@ -19,8 +19,8 @@
#ifndef LLVM_C_TARGETMACHINE_H
#define LLVM_C_TARGETMACHINE_H
#include "llvm-c/Target.h"
#include "llvm-c/Types.h"
#include "Target.h"
#include "Types.h"
#ifdef __cplusplus
extern "C" {
@@ -15,7 +15,7 @@
#ifndef LLVM_C_TRANSFORMS_AGGRESSIVEINSTCOMBINE_H
#define LLVM_C_TRANSFORMS_AGGRESSIVEINSTCOMBINE_H
#include "llvm-c/Types.h"
#include "../Types.h"
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -19,7 +19,7 @@
#ifndef LLVM_C_TRANSFORMS_COROUTINES_H
#define LLVM_C_TRANSFORMS_COROUTINES_H
#include "llvm-c/Types.h"
#include "../Types.h"
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -15,7 +15,7 @@
#ifndef LLVM_C_TRANSFORMS_IPO_H
#define LLVM_C_TRANSFORMS_IPO_H
#include "llvm-c/Types.h"
#include "../Types.h"
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -15,7 +15,7 @@
#ifndef LLVM_C_TRANSFORMS_INSTCOMBINE_H
#define LLVM_C_TRANSFORMS_INSTCOMBINE_H
#include "llvm-c/Types.h"
#include "../Types.h"
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -14,7 +14,7 @@
#ifndef LLVM_C_TRANSFORMS_PASSMANAGERBUILDER_H
#define LLVM_C_TRANSFORMS_PASSMANAGERBUILDER_H
#include "llvm-c/Types.h"
#include "../Types.h"
typedef struct LLVMOpaquePassManagerBuilder *LLVMPassManagerBuilderRef;
+1 -1
View File
@@ -19,7 +19,7 @@
#ifndef LLVM_C_TRANSFORMS_SCALAR_H
#define LLVM_C_TRANSFORMS_SCALAR_H
#include "llvm-c/Types.h"
#include "../Types.h"
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -19,7 +19,7 @@
#ifndef LLVM_C_TRANSFORMS_UTILS_H
#define LLVM_C_TRANSFORMS_UTILS_H
#include "llvm-c/Types.h"
#include "../Types.h"
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -20,7 +20,7 @@
#ifndef LLVM_C_TRANSFORMS_VECTORIZE_H
#define LLVM_C_TRANSFORMS_VECTORIZE_H
#include "llvm-c/Types.h"
#include "../Types.h"
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -14,7 +14,7 @@
#ifndef LLVM_C_TYPES_H
#define LLVM_C_TYPES_H
#include "llvm-c/DataTypes.h"
#include "DataTypes.h"
#ifdef __cplusplus
extern "C" {