C++: Include trailing whitespace in Type.getSpecifierString().

This commit is contained in:
Cornelius Riemenschneider
2020-11-17 18:50:34 +01:00
parent 5c3de06b6d
commit a92f7a4563

View File

@@ -1308,7 +1308,7 @@ class SpecifiedType extends DerivedType {
* only depends on the specifiers, not on the source program). This is intended
* for debugging queries only and is an expensive operation.
*/
string getSpecifierString() { result = concat(this.getASpecifier().getName(), " ") }
string getSpecifierString() { result = concat(this.getASpecifier().getName(), " ") + " " }
override string explain() {
result = this.getSpecifierString() + "{" + this.getBaseType().explain() + "}"