[cfe-dev] New Index.c C API remark

steve naroff snaroff at apple.com
Fri Aug 28 05:09:42 PDT 2009


Just fixed...

Thanks,

snaroff

On Aug 28, 2009, at 3:20 AM, Jean-Daniel Dupas wrote:

> Hi,
>
> In the new clang-c/Index.h file, shouldn't the Cursor enums be  
> prefixed by CX (like the DeclKind enums) ?
>
> enum CXCursorKind {
>  CXCursor_Declaration,
>  CXCursor_Reference,
>  CXCursor_ObjC_ClassRef,
>
> instead of
>
> enum CXCursorKind {
>  Cursor_Declaration,
>  Cursor_Reference,
>  Cursor_ObjC_ClassRef,
>
> It would be more consistent and will reduce namespace pollution IMHO.
>
> Regards
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090828/756774d0/attachment.html>


More information about the cfe-dev mailing list