-
Notifications
You must be signed in to change notification settings - Fork 167
Expand file tree
/
Copy pathCPPLINT.cfg
More file actions
28 lines (24 loc) · 906 Bytes
/
CPPLINT.cfg
File metadata and controls
28 lines (24 loc) · 906 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
set noparent
# Dawn has something called DAWN_CHECK, but it doesn't have everything Chromium has (like CHECK_GE).
filter=-readability/check
# Include order should be caught by clang-format.
filter=-build/include_order
# This set of removals is set to match the set of
# OFF_UNLESS_MANUALLY_ENABLED_LINT_FEATURES from the depot_tools
# presubmit_canned_checks.py file.
filter=-build/c++11
filter=-runtime/references
filter=-whitespace/braces
filter=-whitespace/comma
filter=-whitespace/end_of_line
filter=-whitespace/forcolon
filter=-whitespace/indent
filter=-whitespace/line_length
filter=-whitespace/newline
filter=-whitespace/operators
filter=-whitespace/parens
filter=-whitespace/semicolon
filter=-whitespace/tab
# WGSL constructor-casts (in DAWN_MULTILINE) look like function-style casts.
# Disable this globally for ease of use, as it's also not very important in C++.
filter=-readability/casting