OLD | NEW |
1 # Copyright (C) 2009 Google Inc. All rights reserved. | 1 # Copyright (C) 2009 Google Inc. All rights reserved. |
2 # Copyright (C) 2010 Chris Jerdonek (chris.jerdonek@gmail.com) | 2 # Copyright (C) 2010 Chris Jerdonek (chris.jerdonek@gmail.com) |
3 # Copyright (C) 2010 ProFUSION embedded systems | 3 # Copyright (C) 2010 ProFUSION embedded systems |
4 # | 4 # |
5 # Redistribution and use in source and binary forms, with or without | 5 # Redistribution and use in source and binary forms, with or without |
6 # modification, are permitted provided that the following conditions are | 6 # modification, are permitted provided that the following conditions are |
7 # met: | 7 # met: |
8 # | 8 # |
9 # * Redistributions of source code must retain the above copyright | 9 # * Redistributions of source code must retain the above copyright |
10 # notice, this list of conditions and the following disclaimer. | 10 # notice, this list of conditions and the following disclaimer. |
(...skipping 255 matching lines...) Loading... |
266 "-build/include_order"]), | 266 "-build/include_order"]), |
267 | 267 |
268 ([# There is no way to avoid the symbols __jit_debug_register_code | 268 ([# There is no way to avoid the symbols __jit_debug_register_code |
269 # and __jit_debug_descriptor when integrating with gdb. | 269 # and __jit_debug_descriptor when integrating with gdb. |
270 "Source/JavaScriptCore/jit/GDBInterface.cpp"], | 270 "Source/JavaScriptCore/jit/GDBInterface.cpp"], |
271 ["-readability/naming"]), | 271 ["-readability/naming"]), |
272 | 272 |
273 ([# On some systems the trailing CR is causing parser failure. | 273 ([# On some systems the trailing CR is causing parser failure. |
274 "Source/JavaScriptCore/parser/Keywords.table"], | 274 "Source/JavaScriptCore/parser/Keywords.table"], |
275 ["+whitespace/carriage_return"]), | 275 ["+whitespace/carriage_return"]), |
| 276 |
| 277 ([# Jinja templates: files have .cpp or .h extensions, but contain |
| 278 # template code, which can't be handled, so disable tests. |
| 279 "Source/bindings/templates", |
| 280 "Source/core/scripts/templates"], |
| 281 ["-"]), |
276 ] | 282 ] |
277 | 283 |
278 | 284 |
279 _CPP_FILE_EXTENSIONS = [ | 285 _CPP_FILE_EXTENSIONS = [ |
280 'c', | 286 'c', |
281 'cpp', | 287 'cpp', |
282 'h', | 288 'h', |
283 ] | 289 ] |
284 | 290 |
285 _JSON_FILE_EXTENSION = 'json' | 291 _JSON_FILE_EXTENSION = 'json' |
(...skipping 582 matching lines...) Loading... |
868 checker = self._dispatcher.dispatch(file_path, | 874 checker = self._dispatcher.dispatch(file_path, |
869 style_error_handler, | 875 style_error_handler, |
870 min_confidence) | 876 min_confidence) |
871 | 877 |
872 if checker is None: | 878 if checker is None: |
873 raise AssertionError("File should not be checked: '%s'" % file_path) | 879 raise AssertionError("File should not be checked: '%s'" % file_path) |
874 | 880 |
875 _log.debug("Using class: " + checker.__class__.__name__) | 881 _log.debug("Using class: " + checker.__class__.__name__) |
876 | 882 |
877 checker.check(lines) | 883 checker.check(lines) |
OLD | NEW |