diff options
Diffstat (limited to '.gitlab/linters/check-cpp.py')
-rwxr-xr-x | .gitlab/linters/check-cpp.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitlab/linters/check-cpp.py b/.gitlab/linters/check-cpp.py index 144ab7dd6e..c89451399e 100755 --- a/.gitlab/linters/check-cpp.py +++ b/.gitlab/linters/check-cpp.py @@ -6,6 +6,8 @@ from linter import run_linters, RegexpLinter linters = [ + RegexpLinter(r'WARN\s+\(', + message='CPP macros should not have a space between the macro name and their argument list'), RegexpLinter(r'ASSERT\s+\(', message='CPP macros should not have a space between the macro name and their argument list'), RegexpLinter(r'ASSERT2\s+\(', |