Commit Graph

5 Commits

Author SHA1 Message Date
Tim Keith 6c772ac40b [flang] Improve include file sorting.
Includes like "../dir/file.h" should sort after local includes.
This change fixes that and applies the new formatting.

Now the order (in reverse) is:
- system includes
- includes from llvm or clang (this is from the default IncludeCategories)
- includes of ../something
- everything else

Original-commit: flang-compiler/f18@324643d63a
Reviewed-on: https://github.com/flang-compiler/f18/pull/52
2018-04-12 12:23:20 -07:00
peter klausler 14322536e3 [flang] Tweaked .clang-format, then ran it.
Original-commit: flang-compiler/f18@e10e43b691
Reviewed-on: https://github.com/flang-compiler/f18/pull/4
2018-02-07 12:27:36 -08:00
peter klausler 94c26b688e [flang] Alphabetize and remove settings that match LLVM defaults.
Original-commit: flang-compiler/f18@82b1803f76
2018-02-05 16:08:46 -08:00
peter klausler 16c6f534a5 [flang] Update .clang-format, then reformat all C++ files.
Original-commit: flang-compiler/f18@0ec44de4b7
2018-02-05 14:29:26 -08:00
Tim Keith 340a4320b4 [flang] Add .clang-format and "make formatted" rule.
Original-commit: flang-compiler/f18@5ef28a6112
2018-02-05 10:18:38 -08:00