Skip to content

Commit 7096318

Browse files
committed
C++: Focus the templates extern test on Declarations.
1 parent b5de2a5 commit 7096318

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed
Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
| extern.cpp:1:20:1:20 | T |
2-
| extern.cpp:1:20:1:20 | definition of T |
3-
| extern.cpp:2:5:2:5 | declaration of f |
42
| extern.cpp:2:5:2:5 | f |
53
| extern.cpp:2:7:2:7 | (unnamed parameter 0) |
6-
| extern.cpp:2:7:2:7 | declaration of 1st parameter |
7-
| extern.cpp:4:1:4:58 | // Currently we don't have an element for this declaration |
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import cpp
22

3-
from Element e
3+
from Declaration d
44
where
5-
e.getLocation().getFile().getBaseName() != "" and
6-
not e instanceof Container
7-
select e
5+
d.getLocation().getFile().getBaseName() != ""
6+
select d

0 commit comments

Comments
 (0)