[cfe-commits] r141292 - /cfe/trunk/include/clang-c/Index.h

Erik Verbruggen erik.verbruggen at me.com
Fri Oct 7 00:40:51 PDT 2011


Because I accidentally added it while playing around with patches and not cleaning up afterwards, and then committing a build-fix. There is/was no other support than this single line/enumerator. I do have patches for adding it to CXCursor, but then we would also need to add some way to retrieve the argument to the annotate attribute. And I would also like to be able to retrieve those from code-completion strings, but there I'm still puzzling on the API.

On 07 Oct, 2011,at 07:24 AM, Ted Kremenek <kremenek at apple.com> wrote:

Why shouldn't the AnnotateAttr be included? It is the last attribute CXCursor.

On Oct 6, 2011, at 6:12 AM, Erik Verbruggen wrote:

> Author: erikjv
> Date: Thu Oct 6 08:12:18 2011
> New Revision: 141292
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=141292&view=rev
> Log:
> [libclang] Removed accidental addition of CXCursor_AnnotateAttr.
> 
> Modified:
> cfe/trunk/include/clang-c/Index.h
> 
> Modified: cfe/trunk/include/clang-c/Index.h
> URL: http://llvmorg/viewvc/llvm-project/cfe/trunk/include/clang-c/Index.h?rev=141292&r1=141291&r2=141292&view=diff
> ==============================================================================
> --- cfe/trunk/include/clang-c/Index.h (original)
> +++ cfe/trunk/include/clang-c/Index.h Thu Oct 6 08:12:18 2011
> @@ -1830,8 +1830,7 @@
> CXCursor_IBOutletCollectionAttr = 403,
> CXCursor_CXXFinalAttr = 404,
> CXCursor_CXXOverrideAttr = 405,
> - CXCursor_AnnotateAttr = 406,
> - CXCursor_LastAttr = CXCursor_AnnotateAttr,
> + CXCursor_LastAttr = CXCursor_CXXOverrideAttr,
> 
> /* Preprocessing */
> CXCursor_PreprocessingDirective = 500,
> 
> 
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.csuiuc.edu/mailman/listinfo/cfe-commits

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111007/810bf259/attachment.html>


More information about the cfe-commits mailing list