From a28283f1b82e9e6a8e4b209260938d60f6685b8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Rombauts?= Date: Thu, 30 Jun 2016 21:49:52 +0200 Subject: [PATCH] Update cpplint for int32_t C/C++ types --- cpplint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpplint.py b/cpplint.py index 8633c07..9280f96 100755 --- a/cpplint.py +++ b/cpplint.py @@ -3795,7 +3795,7 @@ def CheckLanguage(filename, clean_lines, linenum, file_extension, # probably a member operator declaration or default constructor. match = Search( r'(\bnew\s+)?\b' # Grab 'new' operator, if it's there - r'(int|float|double|bool|char|int32|uint32|int64|uint64)' + r'(int|short|long|float|double|bool|char|const char*|int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t)' r'(\([^)].*)', line) if match: matched_new = match.group(1)