Skip to content

Commit b69033f

Browse files
committed
C++: Upgrade script
1 parent 6c32b92 commit b69033f

File tree

4 files changed

+4288
-0
lines changed

4 files changed

+4288
-0
lines changed

cpp/ql/lib/semmle/code/cpp/File.qll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,9 @@ class File extends Container, @file {
353353
firstDotPos = min([name.indexOf("."), name.length()]) and
354354
result = name.prefix(firstDotPos)
355355
)
356+
or
357+
this.getAbsolutePath() = "" and
358+
result = ""
356359
}
357360
}
358361

0 commit comments

Comments
 (0)