def FlagCxx14Features(filename, clean_lines, linenum, error):
 line = clean_lines.elided[linenum]
 include = Match('\\s*#\\s*include\\s+[<"]([^<"]+)[">]', line)
 if (include and (include.group(1) in ('scoped_allocator', 'shared_mutex'))):
  error(filename, linenum, 'build/c++14', 5, ('<%s> is an unapproved C++14 header.' % include.group(1)))

def FlagCxx14Features ( filename , clean_lines , linenum , error ) : line = clean_lines . elided [ linenum ] include = Match ( '\\s*#\\s*include\\s+[<"]([^<"]+)[">]' , line ) if ( include and ( include . group ( 1 ) in ( 'scoped_allocator' , 'shared_mutex' ) ) ) : error ( filename , linenum , 'build/c++14' , 5 , ( '<%s> is an unapproved C++14 header.' % include . group ( 1 ) ) )
flag those c++14 features that we restrict .