diff options
Diffstat (limited to 'buildscripts')
-rwxr-xr-x[-rw-r--r--] | buildscripts/apply_clang_tidy_fixes.py | 0 | ||||
-rw-r--r-- | buildscripts/linter/simplecpplint.py | 7 |
2 files changed, 0 insertions, 7 deletions
diff --git a/buildscripts/apply_clang_tidy_fixes.py b/buildscripts/apply_clang_tidy_fixes.py index 9735a662097..9735a662097 100644..100755 --- a/buildscripts/apply_clang_tidy_fixes.py +++ b/buildscripts/apply_clang_tidy_fixes.py diff --git a/buildscripts/linter/simplecpplint.py b/buildscripts/linter/simplecpplint.py index 8c7d775573c..876ba4e28ca 100644 --- a/buildscripts/linter/simplecpplint.py +++ b/buildscripts/linter/simplecpplint.py @@ -162,7 +162,6 @@ class Linter: self._check_for_nonmongo_assert(linenum) self._check_for_mongo_unstructured_log(linenum) self._check_for_mongo_config_header(linenum) - self._check_for_ctype(linenum) self._check_for_std_optional(linenum) self._check_for_tracing_support(linenum) self._check_for_collection_sharding_runtime(linenum) @@ -285,12 +284,6 @@ class Linter: linenum, 'mongodb/unstructuredlog', 'Illegal use of unstructured logging, ' 'this is only for local development use and should not be committed.') - def _check_for_ctype(self, linenum): - line = self.clean_lines[linenum] - if 'include <cctype>' in line or 'include <ctype.h>' in line: - self._error(linenum, 'mongodb/ctype', - 'Use of prohibited <ctype.h> or <cctype> header, use "mongo/util/ctype.h"') - def _check_for_std_optional(self, linenum): line = self.clean_lines[linenum] if _RE_STD_OPTIONAL.search(line): |