On Mon, Sep 10, 2012 at 11:00 PM, Douglas Gregor <[email protected]> wrote:
>
> On Sep 10, 2012, at 10:43 AM, Dmitri Gribenko <[email protected]> wrote:
>
>> On Mon, Sep 10, 2012 at 6:29 PM, Douglas Gregor <[email protected]> wrote:
>>> ===================================================================
>>> --- include/clang-c/Index.h     (revision 163467)
>>> +++ include/clang-c/Index.h     (working copy)
>>> @@ -2040,7 +2040,8 @@
>>>  * \brief A comment AST node.
>>>  */
>>> typedef struct {
>>> -  const void *Data;
>>> +  const void *ASTNode;
>>> +  void *ASTContext;
>>> } CXComment;
>>>
>>> How about storing the CXTranslationUnit rather than the ASTContext?
>>
>> Yes, it would be better.  Now
>> clang_FullComment_getAsXML(CXTranslationUnit TU, CXComment CXC)
>> doesn't need TU parameter anymore.  OK to remove?  Yes, this would be
>> a source-incompatible change, but the fix is trivial.
>
> Go for it!

Thank you!  Committed r163540.

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <[email protected]>*/
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to