[PATCH] D117666: [docs] Put define DEBUG_TYPE after include directives.

Hsiangkai Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 19 17:19:20 PST 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG70cef70b131e: [docs] Put define DEBUG_TYPE after include directives. (authored by HsiangKai).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D117666/new/

https://reviews.llvm.org/D117666

Files:
  llvm/docs/ProgrammersManual.rst


Index: llvm/docs/ProgrammersManual.rst
===================================================================
--- llvm/docs/ProgrammersManual.rst
+++ llvm/docs/ProgrammersManual.rst
@@ -1263,7 +1263,7 @@
 
 .. code-block:: c++
 
-  #define DEBUG_TYPE "mypassname"   // This goes before any #includes.
+  #define DEBUG_TYPE "mypassname"   // This goes after any #includes.
   STATISTIC(NumXForms, "The # of times I did stuff");
 
 The ``STATISTIC`` macro defines a static variable, whose name is specified by


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117666.401450.patch
Type: text/x-patch
Size: 505 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220120/801bf9a1/attachment.bin>


More information about the llvm-commits mailing list