diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2017-05-09 00:39:17 +0200 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-05-09 00:39:17 +0200 | 
| commit | 0e873a30f3072dbacfb700f1e331a8c8396f2e1f (patch) | |
| tree | 557792d454fef510a90975bed4e7d1650ee26c4f /src/clint.py | |
| parent | a9981e0e7e9439340bb8c0162f860b78d8002559 (diff) | |
| parent | 5b6d598ca8301682d931539ecd6da6a9fabae569 (diff) | |
| download | rneovim-0e873a30f3072dbacfb700f1e331a8c8396f2e1f.tar.gz rneovim-0e873a30f3072dbacfb700f1e331a8c8396f2e1f.tar.bz2 rneovim-0e873a30f3072dbacfb700f1e331a8c8396f2e1f.zip | |
Merge #4411 from ZyX-I/luaviml'/lua
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) | 
