Home
last modified time | relevance | path

Searched refs:include_state (Results 1 – 3 of 3) sorted by relevance

/external/webkit/Tools/Scripts/webkitpy/style/checkers/
Dcpp.py2537 def _classify_include(filename, include, is_system, include_state): argument
2585 if not include_state.visited_primary_section() and target_base.find(include_base) != -1:
2590 elif include_state.visited_primary_section() and target_base == include_base:
2612 def check_include_line(filename, file_extension, clean_lines, line_number, include_state, error): argument
2652 duplicate_header = include in include_state
2656 (include, filename, include_state[include]))
2658 include_state[include] = line_number
2660 header_type = _classify_include(filename, include, is_system, include_state)
2662 include_state.header_types[line_number] = header_type
2673 error_message = include_state.check_next_include_order(header_type,
[all …]
Dcpp_unittest.py2427 self.include_state = cpp_style._IncludeState()
2451 self.include_state = cpp_style._IncludeState()
2464 … self.include_state.check_next_include_order(cpp_style._CONFIG_HEADER, True, True))
2468 … self.include_state.check_next_include_order(cpp_style._PRIMARY_HEADER, True, True))
2480 … self.include_state.check_next_include_order(cpp_style._PRIMARY_HEADER, False, True))
2482 … self.include_state.check_next_include_order(cpp_style._CONFIG_HEADER, False, True))
2486 … self.include_state.check_next_include_order(cpp_style._OTHER_HEADER, False, True))
2488 … self.include_state.check_next_include_order(cpp_style._CONFIG_HEADER, False, True))
2491 …self.assertEqual('', self.include_state.check_next_include_order(cpp_style._CONFIG_HEADER, False, …
2493 … self.include_state.check_next_include_order(cpp_style._OTHER_HEADER, False, True))
[all …]
/external/webkit/Tools/
DChangeLog-2010-05-2432720 * Scripts/modules/cpplint.py: Ensure that include_state.header_types is updated even