95c585e258
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
21 lines
405 B
YAML
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
|