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

Jean-Daniel Dupas devlists at shadowlab.org
Fri Aug 28 00:20:28 PDT 2009


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

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


More information about the cfe-dev mailing list