pre-upload: Don't enforce 80 chars for include guards
Avoid enforcing this limit on include guard definitions in C/C++
header files, as they can be quite long due to file structure.
This case is already skipped by the C++ linter (cpplint.py), so
this CL adds consistency by skipping this in the generic linter too.
TEST=run the script on a header file with "#ifndef" directive
followed by a long name
Commit-Ready: Maksim Ivanov <email@example.com>
Tested-by: Maksim Ivanov <firstname.lastname@example.org>
Reviewed-by: Mike Frysinger <email@example.com>
1 file changed