Ted Kremenek wrote:
> Author: kremenek
> Date: Thu Sep  4 20:38:34 2008
> New Revision: 55822
>
> URL: http://llvm.org/viewvc/llvm-project?rev=55822&view=rev
> Log:
> Remove stale comments.
>   

> -      // FIXME: Look for a way to use RecordDecl for simple structs.
>   

This is still relevant. After the new way to create RecordDecls is in 
place, I'll take a look into this.

-Argiris

> -
> -      // We use 'dyn_cast' instead of 'cast' because PrevDecl might not
> -      // be a CXXRecordDecl* if we had a redefinition error.  In this case,
> -      // the dyn_cast will return a NULL pointer.
>        New = CXXRecordDecl::Create(Context, Kind, CurContext, Loc, Name);
>      else
> -      // We use 'dyn_cast' instead of 'cast' because PrevDecl might not
> -      // be a RecordDecl* if we had a redefinition error.  In this case,
> -      // the dyn_cast will return a NULL pointer.      
>        New = RecordDecl::Create(Context, Kind, CurContext, Loc, Name);
>    }
>    
>
>
> _______________________________________________
> cfe-commits mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>   
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to