From 7be454a4c0d9dcc6bc842515ddf8bc84bee71b8e Mon Sep 17 00:00:00 2001 From: Jeroen Ketema Date: Tue, 27 Oct 2026 12:38:00 +0100 Subject: [PATCH] Fix QL library after extractor changes --- cpp/autosar/src/rules/A16-2-2/TranslationUnit.qll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/autosar/src/rules/A16-2-2/TranslationUnit.qll b/cpp/autosar/src/rules/A16-2-2/TranslationUnit.qll index 2eab1f675d..7035d60318 100644 --- a/cpp/autosar/src/rules/A16-2-2/TranslationUnit.qll +++ b/cpp/autosar/src/rules/A16-2-2/TranslationUnit.qll @@ -8,7 +8,7 @@ import semmle.code.cpp.commons.Dependency */ private predicate include(TranslationUnit tu, int index, File file) { exists(string i, string f | - fileannotations(unresolveElement(tu), 98, f, i) and + fileannotations(unresolveElement(tu), _, 98, f, i) and index = i.toInt() and file.getAbsolutePath() = f ) @@ -45,7 +45,7 @@ class TranslationUnit extends File { */ File getAFileInTranslationUnit() { - fileannotations(underlyingElement(this), 98, result.getAbsolutePath(), _) or + fileannotations(underlyingElement(this), _, 98, result.getAbsolutePath(), _) or result = this }