mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-13 10:51:35 +00:00
This was done with these two commands and a couple manual fixups for namespaces that had more than one space in the comment in the closing brace, as well as vulkan_platform.h git grep -l "namespace .* { namespace " | xargs sed -i "" "s/namespace \(.*\) { namespace /namespace \1::/" git grep -l "}} // namespace" | xargs sed -i "" "s%}} // namespace%} // namespace%" Bug: dawn:824 Change-Id: I6f448b820c12fc1004ea5270bf8e1f466b0c0aab Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/75400 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
20 lines
391 B
YAML
20 lines
391 B
YAML
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
|