r237320 - Fix a #include cycle in the libclang headers. "Eventually" is now.
Richard Smith
richard-llvm at metafoo.co.uk
Wed May 13 17:22:13 PDT 2015
Author: rsmith
Date: Wed May 13 19:22:12 2015
New Revision: 237320
URL: http://llvm.org/viewvc/llvm-project?rev=237320&view=rev
Log:
Fix a #include cycle in the libclang headers. "Eventually" is now.
Modified:
cfe/trunk/docs/ReleaseNotes.rst
cfe/trunk/include/clang-c/Index.h
Modified: cfe/trunk/docs/ReleaseNotes.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/ReleaseNotes.rst?rev=237320&r1=237319&r2=237320&view=diff
==============================================================================
--- cfe/trunk/docs/ReleaseNotes.rst (original)
+++ cfe/trunk/docs/ReleaseNotes.rst Wed May 13 19:22:12 2015
@@ -122,6 +122,10 @@ this section should help get you past th
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
--------
Modified: cfe/trunk/include/clang-c/Index.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang-c/Index.h?rev=237320&r1=237319&r2=237320&view=diff
==============================================================================
--- cfe/trunk/include/clang-c/Index.h (original)
+++ cfe/trunk/include/clang-c/Index.h Wed May 13 19:22:12 2015
@@ -5736,9 +5736,6 @@ CINDEX_LINKAGE unsigned clang_Type_visit
* @}
*/
-/* Include the comment API for compatibility. This will eventually go away. */
-#include "clang-c/Documentation.h"
-
#ifdef __cplusplus
}
#endif
More information about the cfe-commits
mailing list