[cfe-commits] r41964 - in /cfe/trunk: Sema/SemaDecl.cpp clang.xcodeproj/project.pbxproj include/clang/AST/Decl.h
fjahanian
fjahanian at apple.com
Fri Sep 14 15:48:17 PDT 2007
On Sep 14, 2007, at 3:20 PM, Steve Naroff wrote:
>
> ======================================================================
> ========
> --- cfe/trunk/include/clang/AST/Decl.h (original)
> +++ cfe/trunk/include/clang/AST/Decl.h Fri Sep 14 17:20:54 2007
> @@ -342,7 +342,7 @@
>
> // Implement isa/cast/dyncast/etc.
> static bool classof(const Decl *D) {
> - return D->getKind() == Field;
> + return D->getKind() == Field || D->getKind() == ObjcIvar;
This looks odd to me? What are you accomplishing by saying a
FieldDecl object is both?
- Fariborz
> }
> static bool classof(const FieldDecl *D) { return true; }
> };
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
More information about the cfe-commits
mailing list