Skip to content

Commit 889c4e4

Browse files
Update cpp/common/src/codingstandards/cpp/Scope.qll
Delete redundant fde = definition filter Co-authored-by: Mauro Baluda <mbaluda@github.com>
1 parent bac8ce0 commit 889c4e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/common/src/codingstandards/cpp/Scope.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ predicate inSameTranslationUnitLate(File f1, File f2) {
310310
bindingset[f, tu]
311311
pragma[inline_late]
312312
predicate functionDefinedInTranslationUnit(Function f, TranslationUnit tu) {
313-
exists(FunctionDeclarationEntry fde | fde = f.getDefinition() |
313+
exists(FunctionDeclarationEntry fde |
314314
fde = f.getDefinition() and
315315
fde.getFile() = tu.getATransitivelyIncludedFile()
316316
)

0 commit comments

Comments
 (0)