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 | f95039cd58bb977244d04a696a5f18358ecd9f40 (patch) | |
tree | 63bab928459640670d204af4a671a1ac29458864 /clang/lib/AST/ASTContext.cpp | |
parent | a377833888a05ebcae4654c072382fc82b640c62 (diff) | |
download | bcm5719-llvm-f95039cd58bb977244d04a696a5f18358ecd9f40.tar.gz bcm5719-llvm-f95039cd58bb977244d04a696a5f18358ecd9f40.zip |
Use isa<...> instead of dyn_cast<...> where result is not needed.
llvm-svn: 64680
Diffstat (limited to 'clang/lib/AST/ASTContext.cpp')
-rw-r--r-- | clang/lib/AST/ASTContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp index d7f686f1274..d2de4c37c0e 100644 --- a/clang/lib/AST/ASTContext.cpp +++ b/clang/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 // {...}; |