Skip to content

Commit

Permalink
mute cpplint runtime/casting messages for now
Browse files Browse the repository at this point in the history
  • Loading branch information
cjchapman authored and miguelsousa committed Aug 17, 2018
1 parent f1cb51a commit 0b3a455
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CPPLINT.cfg
@@ -1,7 +1,7 @@
linelength=1000

# lax
filter=-build/include_subdir,-readability/casting,-build/include,-runtime/printf,-runtime/int,-runtime/arrays,-readability/fn_size,-runtime/threadsafe_fn,-readability/braces,-whitespace/braces,-build/header_guard,-whitespace/semicolon,-legal/copyright,-runtime/references
filter=-build/include_subdir,-readability/casting,-build/include,-runtime/printf,-runtime/int,-runtime/arrays,-readability/fn_size,-runtime/threadsafe_fn,-readability/braces,-whitespace/braces,-build/header_guard,-whitespace/semicolon,-legal/copyright,-runtime/references,-runtime/casting

# strict
# filter=-build/include_subdir,-readability/casting,-build/include
Expand Down Expand Up @@ -49,6 +49,11 @@ filter=-build/include_subdir,-readability/casting,-build/include,-runtime/printf
# [runtime/references]
# example: Is this a non-const reference? If so, make const or
# use a pointer: debug & HOT_DB_MAP
#
# [runtime/casting]
# example: Are you taking an address of a cast? This is dangerous: could
# be a temp var. Take the address before doing the cast, rather
# than after

# messages we can leave off
# -------------------------
Expand Down

0 comments on commit 0b3a455

Please sign in to comment.