Skip to content
Snippets Groups Projects
Commit 6d2f6df3 authored by Ben Gamari's avatar Ben Gamari
Browse files

linters: Check for WARN macro with space separating it from its paren

parent 3ba520c5
No related merge requests found
......@@ -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+\(',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment