Skip to content

Commit 8d84540

Browse files
bdrodesMathiasVP
andauthored
Update cpp/ql/lib/semmle/code/cpp/commons/StringConcatenation.qll
Co-authored-by: Mathias Vorreiter Pedersen <[email protected]>
1 parent f26330e commit 8d84540

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ import semmle.code.cpp.models.implementations.Strcat
77
import semmle.code.cpp.models.interfaces.FormattingFunction
88
private import semmle.code.cpp.dataflow.new.DataFlow
99

10+
/**
11+
* A call that performs a string concatenation. A string can be either a C
12+
* string (i.e., a value of type `char*`), or a C++ string (i.e., a value of
13+
* type `std::string`).
14+
*/
1015
class StringConcatenation extends Call {
1116
StringConcatenation() {
1217
// sprintf-like functions, i.e., concat through formatting

0 commit comments

Comments
 (0)