mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
C++: Focus the templates extern test on Declarations.
This commit is contained in:
@@ -1,7 +1,3 @@
|
||||
| extern.cpp:1:20:1:20 | T |
|
||||
| extern.cpp:1:20:1:20 | definition of T |
|
||||
| extern.cpp:2:5:2:5 | declaration of f |
|
||||
| extern.cpp:2:5:2:5 | f |
|
||||
| extern.cpp:2:7:2:7 | (unnamed parameter 0) |
|
||||
| extern.cpp:2:7:2:7 | declaration of 1st parameter |
|
||||
| extern.cpp:4:1:4:58 | // Currently we don't have an element for this declaration |
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user