mirror of https://github.com/qt/qt5.git
Update _clang-format definition
Add indentation for preprocessor directives if/ifdef/endif as this is commonly used across Qt. Change-Id: I0ce9851cc0861b8d18cb3717d695c871169db239 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
parent
68c8693e5b
commit
bd0943bf50
|
@ -59,6 +59,9 @@ ContinuationIndentWidth: 8
|
|||
# No indentation for namespaces.
|
||||
NamespaceIndentation: None
|
||||
|
||||
# Allow indentation for preprocessing directives (if/ifdef/endif). https://reviews.llvm.org/rL312125
|
||||
IndentPPDirectives: AfterHash
|
||||
|
||||
# Horizontally align arguments after an open bracket.
|
||||
# The coding style does not specify the following, but this is what gives
|
||||
# results closest to the existing code.
|
||||
|
|
Loading…
Reference in New Issue