http://llvm.org/bugs/show_bug.cgi?id=10124

           Summary: libclang: clang_CXCursorSet_contains() returns
                    opposite of correct value
           Product: clang
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


clang_CXCursorSet_contains() is documented to return a non-zero value when the
cursor is found
in the set. The implementation however returns 0 in this case (and 1 if the
cursor isn't found).

I think this is just a typo (== for !=).

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to