We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5de2a5 commit 7096318Copy full SHA for 7096318
cpp/ql/test/library-tests/templates/extern/elements.expected
@@ -1,7 +1,3 @@
1
| 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 |
4
| extern.cpp:2:5:2:5 | f |
5
| 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 |
cpp/ql/test/library-tests/templates/extern/elements.ql
@@ -1,7 +1,6 @@
import cpp
-from Element e
+from Declaration d
where
- e.getLocation().getFile().getBaseName() != "" and
- not e instanceof Container
-select e
+ d.getLocation().getFile().getBaseName() != ""
+select d
0 commit comments