summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/lib/AST/Type.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/Type.cpp b/clang/lib/AST/Type.cpp
index 64a090d174c..23dbce21364 100644
--- a/clang/lib/AST/Type.cpp
+++ b/clang/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 {
OpenPOWER on IntegriCloud