Skip to content

Commit f11c995

Browse files
authored
Merge pull request diffblue#1749 from pkesseli/ci/remove-unapproved
Remove unapproved C++11 header warning.
2 parents 981c8e0 + 703e4a3 commit f11c995

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

scripts/cpplint.py

-14
Original file line numberDiff line numberDiff line change
@@ -6311,20 +6311,6 @@ def FlagCxx11Features(filename, clean_lines, linenum, error):
63116311
# error(filename, linenum, 'build/c++tr1', 5,
63126312
# ('C++ TR1 headers such as <%s> are unapproved.') % include.group(1))
63136313

6314-
# Flag unapproved C++11 headers.
6315-
if include and include.group(1) in ('cfenv',
6316-
'condition_variable',
6317-
'fenv.h',
6318-
'future',
6319-
'mutex',
6320-
'thread',
6321-
'chrono',
6322-
'ratio',
6323-
'system_error',
6324-
):
6325-
error(filename, linenum, 'build/c++11', 5,
6326-
('<%s> is an unapproved C++11 header.') % include.group(1))
6327-
63286314
# The only place where we need to worry about C++11 keywords and library
63296315
# features in preprocessor directives is in macro definitions.
63306316
if Match(r'\s*#', line) and not Match(r'\s*#\s*define\b', line): return

0 commit comments

Comments
 (0)