[PATCH] D54446: Document how to comment an actual parameter

Jordan Rupprecht via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 13 10:35:41 PST 2018


rupprecht added a comment.

LGTM for the actual style change, just a wording nit:



================
Comment at: llvm/docs/CodingStandards.rst:308
 
+#. To document the significance of constants used as actual parameters in a call.
+   This is most helpful for ``bool`` parameters, or passing ``0`` or ``nullptr``.
----------------
Minor nit: s/To document/When documenting/ to maintain consistency with the previous bullet points


Repository:
  rL LLVM

https://reviews.llvm.org/D54446





More information about the llvm-commits mailing list