utils/macros.3: Document `CLANG_WARNING'.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 26 May 2018 15:16:49 +0000 (16:16 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 26 May 2018 15:16:49 +0000 (16:16 +0100)
Added back in ff3d3f01025b881c7cadf093b0f65309c35f2c53.

utils/macros.3

index bd4145a..bd8cbb6 100644 (file)
@@ -42,6 +42,7 @@ macros \- useful macros
 
 .BI "int GCC_VERSION_P(" maj ", " min ");"
 .BI "GCC_WARNING(" option ")"
+.BI "CLANG_WARNING(" option ")"
 .fi
 .SH DESCRIPTION
 .SS Utilities
@@ -163,6 +164,10 @@ lists (see above).  It takes a string-literal argument
 .I option
 naming a GCC warning option, e.g.,
 .BR """\-Wdiv-by-zero""" .
+.PP
+The
+.B CLANG_WARNING
+is similar, except that it works with the Clang compiler.
 .SH "SEE ALSO"
 .BR mLib (3).
 .SH "AUTHOR"