On May 18, 2010, at 3:41 PM, Douglas Gregor wrote:

> 
> On May 18, 2010, at 3:32 PM, Ted Kremenek wrote:
> 
>> Author: kremenek
>> Date: Tue May 18 17:32:15 2010
>> New Revision: 104075
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=104075&view=rev
>> Log:
>> Add function 'clang_isTagDeclDefinition()' to allow clients of libclang to 
>> distinguish between
>> forward declarations and definitions of structs/classes/enums.
> 
> Could/should we generalize this to clang_isDeclarationADefinition(), making 
> it work for any entity that has definitions? (Variables, Functions, Tags, 
> etc.)
> 
>       - Doug

It turns out we already have clang_isCursorDefinition(), so this function isn't 
needed at all.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to