dawn-cmake/.clang-format

21 lines
449 B
Plaintext
Raw Normal View History

2020-03-02 20:47:43 +00:00
# http://clang.llvm.org/docs/ClangFormatStyleOptions.html
2017-11-24 16:44:47 +00:00
BasedOnStyle: Chromium
Standard: Cpp11
AllowShortFunctionsOnASingleLine: false
ColumnLimit: 100
# Use 4 space indents
IndentWidth: 4
ObjCBlockIndentWidth: 4
AccessModifierOffset: -2
CompactNamespaces: true
# This should result in only one indentation level with compacted namespaces
NamespaceIndentation: All
# Use this option once clang-format 6 is out.
IndentPPDirectives: AfterHash