aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/ParameterAttributes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/VMCore/ParameterAttributes.cpp')
-rw-r--r--lib/VMCore/ParameterAttributes.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/VMCore/ParameterAttributes.cpp b/lib/VMCore/ParameterAttributes.cpp
index b5fb832fde..d16f54de23 100644
--- a/lib/VMCore/ParameterAttributes.cpp
+++ b/lib/VMCore/ParameterAttributes.cpp
@@ -52,6 +52,8 @@ std::string ParamAttr::getAsString(ParameterAttributes Attrs) {
Result += utostr((Attrs & ParamAttr::Alignment) >> 16);
Result += " ";
}
+ // Trim the trailing space.
+ Result.erase(Result.end()-1);
return Result;
}