aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/Type.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-02-18 22:58:38 +0000
committerChris Lattner <sabre@nondot.org>2009-02-18 22:58:38 +0000
commit3b6b83b8311ecdfa43cbb37ccc38c107d3b8d88b (patch)
treed5206e3ced2a889fa93a15fd9f011c2f4e3d1aa1 /lib/AST/Type.cpp
parentbb8c5aaa10643db9a97af6dc43f646656c3a75f7 (diff)
minor name changes, no functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64972 91177308-0d34-0410-b5e6-96231b3b80d8
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)