Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cpp/autosar/src/rules/A16-2-2/TranslationUnit.qll
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down Expand Up @@ -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
}

Expand Down
Loading