forked from AdarshRawat1/P4c-Documentation-Hosting
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCPPLINT.cfg
More file actions
25 lines (24 loc) · 707 Bytes
/
CPPLINT.cfg
File metadata and controls
25 lines (24 loc) · 707 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
set noparent
filter=-build/include_subdir
filter=-build/c++11
filter=-build/include_what_you_use
filter=-build/namespaces
filter=-legal/copyright
filter=-runtime/int
filter=-runtime/references
filter=-readability/todo
filter=-readability/function
filter=-readability/casting
linelength=100
# Do not use 'p4c' as the cpp header guard prefix.
root=.
filematch=*.ypp
# yacc productions&actions really confuse cpplint.py, so disable a bunch of things
filter=-readability/braces
filter=-whitespace/braces
filter=-whitespace/semicolon
filter=-readability/namespace
filematch=*.l
filter=-whitespace/semicolon,-whitespace/braces,-whitespace/comma
filter=-whitespace/operators
filter=-readability/multiline_string,