From: Ted Kremenek Date: Wed, 24 Apr 2013 07:33:52 +0000 (+0000) Subject: Release note the change to clang_CXCursorSet_contains(). X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=230fc37c84132d59f97ff3848095b64e34bd1a72;p=clang Release note the change to clang_CXCursorSet_contains(). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180178 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/ReleaseNotes.rst b/docs/ReleaseNotes.rst index fbcd1eff86..cf251d6b0d 100644 --- a/docs/ReleaseNotes.rst +++ b/docs/ReleaseNotes.rst @@ -128,6 +128,16 @@ getStorageClass now returns what is written it the source code for that decl. ... +libclang +-------- + +The clang_CXCursorSet_contains() function previously incorrectly returned 0 +if it contained a CXCursor, contrary to what the documentation stated. This +has been fixed so that the function returns a non-zero value if the set +contains a cursor. This is API breaking change, but matches the intended +original behavior. Moreover, this also fixes the issue of an invalid CXCursorSet +appearing to contain any CXCursor. + Python Binding Changes ----------------------