diff options
Diffstat (limited to 'src/clint.py')
| -rwxr-xr-x | src/clint.py | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/src/clint.py b/src/clint.py index 5174521fb8..3babb7772b 100755 --- a/src/clint.py +++ b/src/clint.py @@ -182,6 +182,7 @@ _ERROR_CATEGORIES = [      'build/include_order',      'build/printf_format',      'build/storage_class', +    'build/useless_fattr',      'readability/alt_tokens',      'readability/bool',      'readability/braces', @@ -1225,6 +1226,10 @@ def CheckForHeaderGuard(filename, lines, error):        lines: An array of strings, each representing a line of the file.        error: The function to call with any errors found.      """ +    if filename.endswith('.c.h') or FileInfo(filename).RelativePath() in set(( +        'func_attr.h', +    )): +        return      cppvar = GetHeaderGuardCPPVariable(filename) | 
