forked from OSchip/llvm-project
[docs] Put define DEBUG_TYPE after include directives.
Differential Revision: https://reviews.llvm.org/D117666
This commit is contained in:
parent
1507786c22
commit
70cef70b13
|
@ -1263,7 +1263,7 @@ Define your statistic like this:
|
|||
|
||||
.. 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
|
||||
|
|
Loading…
Reference in New Issue