We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d875cf0 commit e942e2cCopy full SHA for e942e2c
scripts/checkpatch.pl
@@ -3016,6 +3016,7 @@ sub process {
3016
$dstat !~ /^'X'$/ && # character constants
3017
$dstat !~ /$exceptions/ &&
3018
$dstat !~ /^\.$Ident\s*=/ && # .foo =
3019
+ $dstat !~ /^(?:\#\s*$Ident|\#\s*$Constant)\s*$/ && # stringification #foo
3020
$dstat !~ /^do\s*$Constant\s*while\s*$Constant;?$/ && # do {...} while (...); // do {...} while (...)
3021
$dstat !~ /^for\s*$Constant$/ && # for (...)
3022
$dstat !~ /^for\s*$Constant\s+(?:$Ident|-?$Constant)$/ && # for (...) bar()
0 commit comments