diff options
Diffstat (limited to 'clang/lib/ARCMigrate/ObjCMT.cpp')
-rw-r--r-- | clang/lib/ARCMigrate/ObjCMT.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/ARCMigrate/ObjCMT.cpp b/clang/lib/ARCMigrate/ObjCMT.cpp index 8b3a4a3c39c..4c6e9f2432f 100644 --- a/clang/lib/ARCMigrate/ObjCMT.cpp +++ b/clang/lib/ARCMigrate/ObjCMT.cpp @@ -1371,7 +1371,7 @@ static bool IsVoidStarType(QualType Ty) { Ty = TD->getDecl()->getUnderlyingType(); // Is the type void*? - const PointerType* PT = Ty->getAs<PointerType>(); + const PointerType* PT = Ty->castAs<PointerType>(); if (PT->getPointeeType().getUnqualifiedType()->isVoidType()) return true; return IsVoidStarType(PT->getPointeeType()); |