Skip to content

Commit d29eefd

Browse files
committed
CPP: Examples Macro.qll.
1 parent eb39346 commit d29eefd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cpp/ql/src/semmle/code/cpp/Macro.qll

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
import cpp
22

33
/**
4-
* A macro.
4+
* A macro. For example, the macro `MYMACRO` in the following code:
5+
* ```
6+
* #define MYMACRO 1
7+
* ```
58
*/
69
class Macro extends PreprocessorDirective, @ppd_define {
710

0 commit comments

Comments
 (0)