aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/Type.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/AST/Type.cpp')
-rw-r--r--lib/AST/Type.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/AST/Type.cpp b/lib/AST/Type.cpp
index 6c72a76a60..53363c15ec 100644
--- a/lib/AST/Type.cpp
+++ b/lib/AST/Type.cpp
@@ -1053,13 +1053,13 @@ void ComplexType::getAsStringInternal(std::string &S) const {
}
void ExtQualType::getAsStringInternal(std::string &S) const {
- bool space = false;
+ bool NeedsSpace = false;
if (AddressSpace) {
S = "__attribute__((address_space("+llvm::utostr_32(AddressSpace)+")))" + S;
- space = true;
+ NeedsSpace = true;
}
if (GCAttrType != QualType::GCNone) {
- if (space)
+ if (NeedsSpace)
S += ' ';
S += "__attribute__((objc_gc(";
if (GCAttrType == QualType::Weak)