-
Notifications
You must be signed in to change notification settings - Fork 174
Expand file tree
/
Copy pathCPPLINT.cfg
More file actions
36 lines (31 loc) · 1.04 KB
/
CPPLINT.cfg
File metadata and controls
36 lines (31 loc) · 1.04 KB
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
29
30
31
32
33
34
35
36
linelength=1000
root=c
# lax
filter=-build/include_subdir,-readability/casting,-runtime/references,-runtime/int,-readability/fn_size,-readability/braces,
# strict
# filter=-build/include_subdir,-readability/casting,-build/include
# messages we should turn back on soon
# ------------------------------------
#
# [runtime/int]
# example: Use int16/int64/etc, rather than the C type long
# messages we can leave off
# -------------------------
#
# [build/include_subdir]
# example: Include the directory when naming .h files
#
# [readability/casting]
# example: Using C-style cast. Use reinterpret_cast<char *>(...) instead
#
# [runtime/references]
# example: Is this a non-const reference? If so, make const or
# use a pointer: debug & HOT_DB_MAP
#
# [readability/fn_size]
# example: Small and focused functions are preferred: t2Read() has 506
# non-comment lines (error triggered by exceeding 500 lines).
#
# [readability/braces]
# example: If an else has a brace on one side, it should have it on both
#