Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: do not lint macros files (again)
  • Loading branch information
cclauss committed Dec 7, 2018
commit 0861477edaf26fd8bead8ea315dd94f036507697
3 changes: 3 additions & 0 deletions src/notrace_macros.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# This file is used by tools/js2c.py to preprocess out the DTRACE symbols in
# builds that don't support DTrace. This is not used in builds that support
# DTrace.

# flake8: noqa

macro DTRACE_HTTP_CLIENT_REQUEST(x) = ;
macro DTRACE_HTTP_CLIENT_RESPONSE(x) = ;
macro DTRACE_HTTP_SERVER_REQUEST(x) = ;
Expand Down
2 changes: 2 additions & 0 deletions tools/dcheck_macros.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# flake8: noqa

macro DCHECK(x) = do { if (!(x)) (process._rawDebug("DCHECK: x == true"), process.abort()) } while (0);
macro DCHECK_EQ(a, b) = DCHECK((a) === (b));
macro DCHECK_GE(a, b) = DCHECK((a) >= (b));
Expand Down
2 changes: 2 additions & 0 deletions tools/nodcheck_macros.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# flake8: noqa

macro DCHECK(x) = void(x);
macro DCHECK_EQ(a, b) = void(a, b);
macro DCHECK_GE(a, b) = void(a, b);
Expand Down