Skip to content

Commit a92f7a4

Browse files
committed
C++: Include trailing whitespace in Type.getSpecifierString().
1 parent 5c3de06 commit a92f7a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1308,7 +1308,7 @@ class SpecifiedType extends DerivedType {
13081308
* only depends on the specifiers, not on the source program). This is intended
13091309
* for debugging queries only and is an expensive operation.
13101310
*/
1311-
string getSpecifierString() { result = concat(this.getASpecifier().getName(), " ") }
1311+
string getSpecifierString() { result = concat(this.getASpecifier().getName(), " ") + " " }
13121312

13131313
override string explain() {
13141314
result = this.getSpecifierString() + "{" + this.getBaseType().explain() + "}"

0 commit comments

Comments
 (0)