Skip to content

Commit

Permalink
[llvm-c-test] Make include-all.c do what its name says it does
Browse files Browse the repository at this point in the history
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

llvm-svn: 360033
  • Loading branch information
wanders authored and MrSidims committed May 24, 2019
1 parent a59bc93 commit b2ca7d0
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion llvm/tools/llvm-c-test/include-all.c
Expand Up @@ -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"

0 comments on commit b2ca7d0

Please sign in to comment.