Skip to content

Commit 7be454a

Browse files
committed
Fix QL library after extractor changes
1 parent 51a945f commit 7be454a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎cpp/autosar/src/rules/A16-2-2/TranslationUnit.qll‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import semmle.code.cpp.commons.Dependency
88
*/
99
private predicate include(TranslationUnit tu, int index, File file) {
1010
exists(string i, string f |
11-
fileannotations(unresolveElement(tu), 98, f, i) and
11+
fileannotations(unresolveElement(tu), _, 98, f, i) and
1212
index = i.toInt() and
1313
file.getAbsolutePath() = f
1414
)
@@ -45,7 +45,7 @@ class TranslationUnit extends File {
4545
*/
4646

4747
File getAFileInTranslationUnit() {
48-
fileannotations(underlyingElement(this), 98, result.getAbsolutePath(), _) or
48+
fileannotations(underlyingElement(this), _, 98, result.getAbsolutePath(), _) or
4949
result = this
5050
}
5151

0 commit comments

Comments
 (0)