File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -11,5 +11,8 @@ import definitions
1111from Top e , Top def , string kind
1212where
1313 def = definitionOf ( e , kind ) and
14+ // We need to exclude definitions for elements inside template instantiations,
15+ // as these often lead to multiple links to definitions from the same source location.
16+ // LGTM does not support this bevaviour.
1417 not e .isFromTemplateInstantiation ( _)
1518select e , def , kind
Original file line number Diff line number Diff line change @@ -13,4 +13,4 @@ external string selectedSourceFile();
1313
1414from Top e , Top def , string kind
1515where def = definitionOf ( e , kind ) and e .getFile ( ) = getEncodedFile ( selectedSourceFile ( ) )
16- select e . getLocation ( ) , def . getLocation ( ) , kind
16+ select e , def , kind
You can’t perform that action at this time.
0 commit comments