Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Kitware
GitHub Repository: Kitware/CMake
Path: blob/master/Utilities/ast-grep/rule-tests/__snapshots__/rm-cmdbg-macros-snapshot.yml
3152 views
1
id: rm-cmdbg-macros
2
snapshots:
3
CM_DBG(arg);:
4
fixed: arg;
5
labels:
6
- source: CM_DBG(arg)
7
style: primary
8
start: 0
9
end: 11
10
a = CM_DBG(arg);:
11
fixed: a = arg;
12
labels:
13
- source: CM_DBG(arg)
14
style: primary
15
start: 4
16
end: 15
17
b = a + CM_DBG(arg);:
18
fixed: b = a + arg;
19
labels:
20
- source: CM_DBG(arg)
21
style: primary
22
start: 8
23
end: 19
24
f(CM_DBG(arg));:
25
fixed: f(arg);
26
labels:
27
- source: CM_DBG(arg)
28
style: primary
29
start: 2
30
end: 13
31
32