Skip to content

Commit 250ed48

Browse files
bdrodesgeoffw0
andauthored
Update cpp/ql/lib/semmle/code/cpp/commons/StringConcatenation.qll
Co-authored-by: Geoffrey White <[email protected]>
1 parent 2b325e9 commit 250ed48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/lib/semmle/code/cpp/commons/StringConcatenation.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class StringConcatenation extends Call {
4747
// occurs in cases like `string s = s1 + s2 + s3`, which is represented as
4848
// `string s = (s1.operator+(s2)).operator+(s3);`
4949
// By limiting to non-calls we get the leaf operands (the variables or raw strings)
50-
// also, by not enuemrating allowed types (variables and strings) we avoid issues
50+
// also, by not enumerating allowed types (variables and strings) we avoid issues
5151
// with missed corner cases or extensions/changes to CodeQL in the future which might
5252
// invalidate that approach.
5353
not result instanceof Call and

0 commit comments

Comments
 (0)