diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2008-01-04 23:59:09 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2008-01-04 23:59:09 +0000 |
commit | bad32189545db759e9db15ff07e04b23aaa9b2e8 (patch) | |
tree | 7015471bf96111cbf4f6b4b569ad403a3783ef1c /clang/Sema/SemaExprObjC.cpp | |
parent | 6bb0c526282c2f1ebc15099b7c025cf5e7d1256d (diff) | |
download | bcm5719-llvm-bad32189545db759e9db15ff07e04b23aaa9b2e8.tar.gz bcm5719-llvm-bad32189545db759e9db15ff07e04b23aaa9b2e8.zip |
Minor refactoring of foreach's semantics code per Chris's suggetion.
llvm-svn: 45604
Diffstat (limited to 'clang/Sema/SemaExprObjC.cpp')
-rw-r--r-- | clang/Sema/SemaExprObjC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/Sema/SemaExprObjC.cpp b/clang/Sema/SemaExprObjC.cpp index e976876c2b3..a82f6fb493e 100644 --- a/clang/Sema/SemaExprObjC.cpp +++ b/clang/Sema/SemaExprObjC.cpp @@ -217,7 +217,7 @@ Sema::ExprResult Sema::ActOnInstanceMessage( return true; } } else { - bool receiverIsQualId = dyn_cast<ObjcQualifiedIdType>(receiverType) != 0; + bool receiverIsQualId = isa<ObjcQualifiedIdType>(receiverType); // FIXME (snaroff): checking in this code from Patrick. Needs to be // revisited. how do we get the ClassDecl from the receiver expression? if (!receiverIsQualId) |