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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/AST/Type.cpp b/lib/AST/Type.cpp
index bc597072ed..6c72a76a60 100644
--- a/lib/AST/Type.cpp
+++ b/lib/AST/Type.cpp
@@ -1058,11 +1058,11 @@ void ExtQualType::getAsStringInternal(std::string &S) const {
S = "__attribute__((address_space("+llvm::utostr_32(AddressSpace)+")))" + S;
space = true;
}
- if (GCAttrType != GCNone) {
+ if (GCAttrType != QualType::GCNone) {
if (space)
S += ' ';
S += "__attribute__((objc_gc(";
- if (GCAttrType == Weak)
+ if (GCAttrType == QualType::Weak)
S += "weak";
else
S += "strong";