llvm-capstone/pstl/.clang-format
Louis Dionne 95c585e258 [pstl] Indent preprocessor directives as part of the clang-format rules
Summary:
Indenting preprocessor directives provides a significant gain in
readability. We do it for normal if statements, and it makes sense
to do it for preprocessor ifs too.

Reviewers: rodgert, MikeDvorskiy

Subscribers: jkorous, dexonsmith, jdoerfert, libcxx-commits

Differential Revision: https://reviews.llvm.org/D59767

llvm-svn: 357401
2019-04-01 15:21:46 +00:00

21 lines
405 B
YAML

BasedOnStyle: LLVM
Language: Cpp
Standard: Cpp11
IndentWidth: 4
ColumnLimit: 120
AlwaysBreakTemplateDeclarations: true
AlwaysBreakAfterReturnType: All
PointerAlignment: Left
AllowShortIfStatementsOnASingleLine: false
BreakBeforeBraces: Allman
# Disable formatting options which may break tests.
SortIncludes: false
ReflowComments: false
# Indent preprocessor directives
IndentPPDirectives: AfterHash