mirror of
https://github.com/github/codeql.git
synced 2026-04-27 01:35:13 +02:00
Merge pull request #4535 from criemen/jump-to-def
C++: Extend jump-to-def support to template instantiations.
This commit is contained in:
@@ -40,7 +40,9 @@ string issues(Link e) {
|
||||
filepath1 = filepath2 and
|
||||
not end1 < begin2 and
|
||||
not begin1 > end2 and
|
||||
e != e2
|
||||
e != e2 and
|
||||
not e.isFromTemplateInstantiation(_) and
|
||||
not e2.isFromTemplateInstantiation(_)
|
||||
) and
|
||||
result = "overlaps another link"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user