From ad658270ef1aa7f503050598ab6caa667eeffb57 Mon Sep 17 00:00:00 2001 From: Anders Waldenborg Date: Mon, 6 May 2019 11:31:45 +0000 Subject: [PATCH] [llvm-c-test] Make include-all.c do what its name says it does The purpose of this file is to make sure that all includes in llvm-c works when included from a C source file (i.e no C++isms sneaked in). To do this it must actually include all the include files. Reviewed By: whitequark Differential Revision: https://reviews.llvm.org/D61567 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360033 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-c-test/include-all.c | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/tools/llvm-c-test/include-all.c b/tools/llvm-c-test/include-all.c index b6e80a098d1..597a3c5c7bb 100644 --- a/tools/llvm-c-test/include-all.c +++ b/tools/llvm-c-test/include-all.c @@ -17,17 +17,32 @@ #include "llvm-c/Analysis.h" #include "llvm-c/BitReader.h" #include "llvm-c/BitWriter.h" +#include "llvm-c/Comdat.h" #include "llvm-c/Core.h" +#include "llvm-c/DataTypes.h" +#include "llvm-c/DebugInfo.h" #include "llvm-c/Disassembler.h" +#include "llvm-c/DisassemblerTypes.h" +#include "llvm-c/Error.h" +#include "llvm-c/ErrorHandling.h" #include "llvm-c/ExecutionEngine.h" #include "llvm-c/Initialization.h" -#include "llvm-c/LinkTimeOptimizer.h" +#include "llvm-c/IRReader.h" #include "llvm-c/Linker.h" +#include "llvm-c/LinkTimeOptimizer.h" #include "llvm-c/Object.h" +#include "llvm-c/OrcBindings.h" +#include "llvm-c/Remarks.h" +#include "llvm-c/Support.h" #include "llvm-c/Target.h" #include "llvm-c/TargetMachine.h" +#include "llvm-c/Transforms/AggressiveInstCombine.h" +#include "llvm-c/Transforms/Coroutines.h" +#include "llvm-c/Transforms/InstCombine.h" #include "llvm-c/Transforms/IPO.h" #include "llvm-c/Transforms/PassManagerBuilder.h" #include "llvm-c/Transforms/Scalar.h" +#include "llvm-c/Transforms/Utils.h" #include "llvm-c/Transforms/Vectorize.h" +#include "llvm-c/Types.h" #include "llvm-c/lto.h"