Fix a #include cycle in the libclang headers. "Eventually" is now.

llvm-svn: 237320
This commit is contained in:
Richard Smith 2015-05-14 00:22:12 +00:00
parent de92b52015
commit a0334a9277
2 changed files with 4 additions and 3 deletions

View 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 objects instead of `MacroDirective` objects. This allows preserving
full information on macros imported from modules. 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 libclang
-------- --------

View 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 #ifdef __cplusplus
} }
#endif #endif