diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-02-16 22:09:26 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-02-16 22:09:26 +0000 |
commit | 225dfd7d6b0ed14e6b7ad8dc121161b9f34ecfce (patch) | |
tree | db32212d1f196270055169ab503031571ac1d26d /lib/AST/ASTContext.cpp | |
parent | 22bd905673a73ccb9b5e45a7038ec060c9650ffe (diff) |
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
Diffstat (limited to 'lib/AST/ASTContext.cpp')
-rw-r--r-- | lib/AST/ASTContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<TypedefType>(PointeeTy.getTypePtr())) { + isa<TypedefType>(PointeeTy.getTypePtr())) { // Another historical/compatibility reason. // We encode the underlying type which comes out as // {...}; |