chiark
/
gitweb
/
~mdw
/
mLib
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
72126ef
)
utils/macros.3: Document `CLANG_WARNING'.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 26 May 2018 15:16:49 +0000
(16:16 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 26 May 2018 15:16:49 +0000
(16:16 +0100)
Added back in
ff3d3f01025b881c7cadf093b0f65309c35f2c53
.
utils/macros.3
patch
|
blob
|
blame
|
history
diff --git
a/utils/macros.3
b/utils/macros.3
index bd4145acddef82ef456593c6a4f3de90d9a188e5..bd8cbb6952ed4cdbce8a86f6a898ab4998298edf 100644
(file)
--- a/
utils/macros.3
+++ b/
utils/macros.3
@@
-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"