summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2015-05-14 00:22:12 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2015-05-14 00:22:12 +0000
commita0334a9277fa450f74ae0f99fa4e0850cf12641c (patch)
treefc7ae26a2087149bbf325158362165afaf730cd3
parentde92b520156a7f8b89bcb756938debb9a68e5d4b (diff)
downloadbcm5719-llvm-a0334a9277fa450f74ae0f99fa4e0850cf12641c.tar.gz
bcm5719-llvm-a0334a9277fa450f74ae0f99fa4e0850cf12641c.zip
Fix a #include cycle in the libclang headers. "Eventually" is now.
llvm-svn: 237320
-rw-r--r--clang/docs/ReleaseNotes.rst4
-rw-r--r--clang/include/clang-c/Index.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index bffef199865..5682f34af77 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -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
--------
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h
index 693eef2a798..3276afc4b96 100644
--- a/clang/include/clang-c/Index.h
+++ b/clang/include/clang-c/Index.h
@@ -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
OpenPOWER on IntegriCloud