]> granicus.if.org Git - clang/commitdiff
Fix a #include cycle in the libclang headers. "Eventually" is now.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 14 May 2015 00:22:12 +0000 (00:22 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 14 May 2015 00:22:12 +0000 (00:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@237320 91177308-0d34-0410-b5e6-96231b3b80d8

docs/ReleaseNotes.rst
include/clang-c/Index.h

index bffef199865bc2ae696f3ebda96ff5d26b6cc465..5682f34af7787ac35d5fe121f547c715531a050e 100644 (file)
@@ -122,6 +122,10 @@ this section should help get you past the largest hurdles of upgrading.
    objects instead of `MacroDirective` objects. This allows preserving
    full information on macros imported from modules.
 
+-  `clang-c/Index.h` no longer `#include`\s `clang-c/Documentation.h`.
+   You now need to explicitly `#include "clang-c/Documentation.h"` if
+   you use the libclang documentation API.
+
 libclang
 --------
 
index 693eef2a798663dce8b2d0144dcf076dc0bb6333..3276afc4b9604e0f0b14eed19998aaf524908c84 100644 (file)
@@ -5736,9 +5736,6 @@ CINDEX_LINKAGE unsigned clang_Type_visitFields(CXType T,
  * @}
  */
 
-/* Include the comment API for compatibility. This will eventually go away. */
-#include "clang-c/Documentation.h"
-
 #ifdef __cplusplus
 }
 #endif