[cfe-commits] [PATCH 11/15] Fix Casting

dag at cray.com dag at cray.com
Fri Jan 11 12:08:12 PST 2013


Argyrios Kyrtzidis <akyrtzi at gmail.com> writes:

> Most of your fixes are in functions creating a CXCursor out of a
> subclass of Decl; the suggestion here is to add a new function and
> have the other's call it, e.g:
>
> CXCursor cxcursor::MakeCursorVariableRef(const VarDecl *Var, SourceLocation Loc, 
>                                          CXTranslationUnit TU) {
>   return MakeDeclCursor(CXCursor_VariableRef, Var, Loc, TU);
> }
>
> which is good in general.

Ah, I see.  I'll hold off on my patches then and wait for these fixes.

Thanks!

                               -David



More information about the cfe-commits mailing list