From c81aa49fe2ee1f4a36715b5016f70a8f61f2cadb Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Tue, 19 Jun 2018 22:31:29 +0200 Subject: [PATCH] [DEV] update etk null --- .bin/cpplint.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.bin/cpplint.py b/.bin/cpplint.py index aa3fb59..e5169cf 100755 --- a/.bin/cpplint.py +++ b/.bin/cpplint.py @@ -3266,7 +3266,7 @@ def CheckBracesSpacing(filename, clean_lines, linenum, error): # LastArgument(..., type{}); # LOG(INFO) << type{} << " ..."; # map_of_type[{...}] = ...; - # ternary = expr ? new type{} : nullptr; + # ternary = expr ? new type{} : null; # OuterTemplate{}> # # We check for the character following the closing brace, and @@ -5257,7 +5257,7 @@ def CheckCStyleCast(filename, clean_lines, linenum, cast_type, pattern, error): # Don't warn on assignments to function pointers, but keep warnings for # unnamed parameters to pure virtual functions. Note that this pattern # will also pass on assignments of "0" to function pointers, but the - # preferred values for those would be "nullptr" or "NULL". + # preferred values for those would be "null" or "NULL". matched_zero = Match(r'^\s=\s*(\S+)\s*;', remainder) if matched_zero and matched_zero.group(1) != '0': return False