diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-02-18 22:58:38 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-02-18 22:58:38 +0000 |
| commit | 6805ac6ab0ddea5022c6f6cd21bf161f688c3ba7 (patch) | |
| tree | 774a672a3d810accead5bc9019d5934a8a46ca8f /clang/lib/AST | |
| parent | 551747fe3ad77c4267e1281bba562d0bbec1d439 (diff) | |
| download | bcm5719-llvm-6805ac6ab0ddea5022c6f6cd21bf161f688c3ba7.tar.gz bcm5719-llvm-6805ac6ab0ddea5022c6f6cd21bf161f688c3ba7.zip | |
minor name changes, no functionality change.
llvm-svn: 64972
Diffstat (limited to 'clang/lib/AST')
| -rw-r--r-- | clang/lib/AST/Type.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/AST/Type.cpp b/clang/lib/AST/Type.cpp index 6c72a76a60d..53363c15eca 100644 --- a/clang/lib/AST/Type.cpp +++ b/clang/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) |

