]> granicus.if.org Git - clang/commitdiff
Release note the change to clang_CXCursorSet_contains().
authorTed Kremenek <kremenek@apple.com>
Wed, 24 Apr 2013 07:33:52 +0000 (07:33 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 24 Apr 2013 07:33:52 +0000 (07:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180178 91177308-0d34-0410-b5e6-96231b3b80d8

docs/ReleaseNotes.rst

index fbcd1eff86ad0593fb5e4b8da5c46aee7d811eec..cf251d6b0d87c4d8e7a6e566edd050d8154855a1 100644 (file)
@@ -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
 ----------------------