From 225dfd7d6b0ed14e6b7ad8dc121161b9f34ecfce Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Mon, 16 Feb 2009 22:09:26 +0000 Subject: Use isa<...> instead of dyn_cast<...> where result is not needed. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64680 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AST/ASTContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/AST/ASTContext.cpp') diff --git a/lib/AST/ASTContext.cpp b/lib/AST/ASTContext.cpp index d7f686f127..d2de4c37c0 100644 --- a/lib/AST/ASTContext.cpp +++ b/lib/AST/ASTContext.cpp @@ -2086,7 +2086,7 @@ void ASTContext::getObjCEncodingForTypeImpl(QualType T, std::string& S, } else if (PointeeTy->isObjCInterfaceType()) { if (!EncodingProperty && - dyn_cast(PointeeTy.getTypePtr())) { + isa(PointeeTy.getTypePtr())) { // Another historical/compatibility reason. // We encode the underlying type which comes out as // {...}; -- cgit v1.2.3-70-g09d2