Lines Matching refs:header

57 #  - Avoid inlining non-trivial constructors in header files
145 The root directory used for deriving header guard CPP variable.
146 By default, the header guard CPP variable is calculated as the relative
153 Assuing that src/.git exists, the header guard CPP variables for
360 # The root directory used for deriving header guard CPP variable.
436 Call CheckNextIncludeOrder() once for each header in the file, passing
450 _C_SYS_HEADER: 'C system header',
451 _CPP_SYS_HEADER: 'C++ system header',
452 _LIKELY_MY_HEADER: 'header this file implements',
453 _POSSIBLE_MY_HEADER: 'header this file may implement',
454 _OTHER_HEADER: 'other header',
458 _MY_H_SECTION: 'a header this file implements',
459 _C_SECTION: 'C system header',
460 _CPP_SECTION: 'C++ system header',
461 _OTHER_H_SECTION: 'other header',
468 # The path of last found header.
475 - removes '-inl' since we don't require them to be after the main header.
487 """Check if a header is in alphabetical order with the previous header.
493 Returns true if the header is in alphabetical order.
502 """Returns a non-empty error message if the next header is out of order.
511 The empty string if the header is in the right order, or an
543 # enough that the header is associated with this file.
784 the name so that we get header guards that don't include things like
824 # Don't know what to do; header guard warnings may be wrong...
1145 """Returns the CPP variable that should be used as a header guard.
1148 filename: The name of a C++ header file.
1151 The CPP variable that should be used as a header guard in the
1169 """Checks that the file contains a header guard.
1171 Logs an error if no #ifndef header guard is present. For other
1175 filename: The name of the C++ header file.
1192 # set ifndef to the header guard presented on the #ifndef line.
1204 'No #ifndef header guard found, suggested CPP variable is: %s' %
1210 'No #define header guard found, suggested CPP variable is: %s' %
1224 '#ifndef header guard has wrong style, please use: %s' % cppvar)
2279 # non-empty line has the parameters of a function header that are indented
2299 # a function header. If we have a colon indented 4 spaces, it is an
2888 # Check if the line is a header guard.
2896 # #include lines and header guards can be long, since there's no clean way to
2994 """Figures out what kind of header 'include' is.
3017 # This is a list of all standard c++ header files, except
3478 # Check for use of unnamed namespaces in header files. Registration
3485 'Do not use unnamed namespaces in header files. See '
3628 header. This is used by the caller of this function to more robustly open the
3629 header file. We don't have access to the real include paths in this context,
3638 filename_h: is the path for the header path
3643 string: the additional prefix needed to open the header file.
3675 filename: the name of the header to read.
3680 True if a header was succesfully added. False otherwise.
3706 reason to include a header. For example, if you use both equal_to<> and
3715 io: The IO factory to use to read the header file. Provided for unittest
3718 required = {} # A map of header name to linenumber and the template entity.
3735 for pattern, template, header in _re_pattern_algorithm_header:
3737 required[header] = (linenum, template)
3743 for pattern, template, header in _re_pattern_templates:
3745 required[header] = (linenum, template)
3752 # Did we find the header for this file (if any) and succesfully load it?
3761 # restore original file name here so that the corresponding header file can be
3770 for header in header_keys:
3771 (same_module, common_path) = FilesBelongToSameModule(abs_filename, header)
3772 fullpath = common_path + header
3776 # If we can't find the header file for a .cc, assume it's because we don't