1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00
llvm-mirror/include/llvm-c
Chandler Carruth eb66b33867 Sort the remaining #include lines in include/... and lib/....
I did this a long time ago with a janky python script, but now
clang-format has built-in support for this. I fed clang-format every
line with a #include and let it re-sort things according to the precise
LLVM rules for include ordering baked into clang-format these days.

I've reverted a number of files where the results of sorting includes
isn't healthy. Either places where we have legacy code relying on
particular include ordering (where possible, I'll fix these separately)
or where we have particular formatting around #include lines that
I didn't want to disturb in this patch.

This patch is *entirely* mechanical. If you get merge conflicts or
anything, just ignore the changes in this patch and run clang-format
over your #include lines in the files.

Sorry for any noise here, but it is important to keep these things
stable. I was seeing an increasing number of patches with irrelevant
re-ordering of #include lines because clang-format was used. This patch
at least isolates that churn, makes it easy to skip when resolving
conflicts, and gets us to a clean baseline (again).

llvm-svn: 304787
2017-06-06 11:49:48 +00:00
..
Transforms Split the SimplifyCFG pass into two variants. 2017-03-26 06:44:08 +00:00
Analysis.h Reorganize the C API headers to improve build times. 2015-12-18 01:46:52 +00:00
BitReader.h Deprecate a few C APIs. 2015-12-18 23:46:42 +00:00
BitWriter.h Reorganize the C API headers to improve build times. 2015-12-18 01:46:52 +00:00
Core.h [LLVM-C] [OCaml] Expose Type::subtypes. 2017-06-05 11:49:52 +00:00
Disassembler.h Fix Clang-tidy modernize-deprecated-headers warnings in some files; other minor fixes. 2016-03-28 17:40:08 +00:00
ErrorHandling.h Make some headers self-contained, remove unused includes that violate layering. 2016-01-27 16:05:37 +00:00
ExecutionEngine.h Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
Initialization.h Reorganize the C API headers to improve build times. 2015-12-18 01:46:52 +00:00
IRReader.h Reorganize the C API headers to improve build times. 2015-12-18 01:46:52 +00:00
Linker.h Delete the deprecated LLVMLinkModules. 2016-02-12 15:28:45 +00:00
LinkTimeOptimizer.h
lto.h Reorganize libLTO C API header lto.h (NFC) 2017-04-08 19:20:30 +00:00
module.modulemap
Object.h Reorganize the C API headers to improve build times. 2015-12-18 01:46:52 +00:00
OrcBindings.h [ORC] clang-format code that was touched in r267457. NFC. 2016-04-25 21:21:20 +00:00
Support.h Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
Target.h Move LLVMCreateTargetData and LLVMDisposeTargetData together. NFC 2016-02-17 22:41:09 +00:00
TargetMachine.h Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
Types.h Introduce LLVMDIBuilderRef 2017-04-20 14:22:47 +00:00