[cfe-commits] r113805 - in /cfe/trunk: include/clang-c/Index.h test/Index/TestClassDecl.m test/Index/TestClassForwardDecl.m test/Index/index-templates.cpp test/Index/load-namespaces.cpp tools/c-index-test/c-index-test.c tools/libclang/CIndex.cpp
Douglas Gregor
dgregor at apple.com
Wed Sep 15 20:15:08 PDT 2010
Yikes, thanks!
Sent from my iPhone
On Sep 15, 2010, at 6:32 PM, Francois Pichet <pichet2000 at gmail.com> wrote:
> On Mon, Sep 13, 2010 at 6:52 PM, Douglas Gregor <dgregor at apple.com> wrote:
>> Author: dgregor
>> Date: Mon Sep 13 17:52:57 2010
>> New Revision: 113805
>
>> +unsigned clang_getNumOverloadedDecls(CXCursor C) {
>> + if (!C.kind == CXCursor_OverloadedDeclRef)
>> + return 0;
>> +
>
> I suppose you mean:
>
> if (C.kind != CXCursor_OverloadedDeclRef)
>
> same thing in CXCursor clang_getOverloadedDecl(CXCursor cursor, unsigned index)
More information about the cfe-commits
mailing list