Skip to content

Commit 458fddd

Browse files
committed
CPP: Use strictconcat.
1 parent c62cfb3 commit 458fddd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/src/semmle/code/cpp/AutogeneratedFile.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ private int fileHeaderLimit(File f) {
113113
class AutogeneratedFile extends File {
114114
cached AutogeneratedFile() {
115115
autogeneratedComment(
116-
concat(Comment c |
116+
strictconcat(Comment c |
117117
c.getFile() = this and
118118
c.getLocation().getStartLine() <= fileHeaderLimit(this) |
119119
c.getContents() order by c.getLocation().getStartLine()

0 commit comments

Comments
 (0)