aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/AST/Type.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/Type.cpp b/lib/AST/Type.cpp
index 64a090d174..23dbce2136 100644
--- a/lib/AST/Type.cpp
+++ b/lib/AST/Type.cpp
@@ -486,7 +486,7 @@ const ObjCInterfaceType *Type::getAsObjCQualifiedInterfaceType() const {
}
bool Type::isObjCQualifiedInterfaceType() const {
- return getAsObjCQualifiedIdType() != 0;
+ return getAsObjCQualifiedInterfaceType() != 0;
}
const ObjCObjectPointerType *Type::getAsObjCObjectPointerType() const {