[LLVMbugs] [Bug 10124] New: libclang: clang_CXCursorSet_contains() returns opposite of correct value

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Jun 11 02:44:35 PDT 2011


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: unassignedclangbugs at nondot.org
        ReportedBy: jjk at acm.org
                CC: llvmbugs at cs.uiuc.edu


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.



More information about the llvm-bugs mailing list