r368874 - Document clang-cpp in the release notes for clang

Chris Bieneman via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 14 09:49:52 PDT 2019

Author: cbieneman
Date: Wed Aug 14 09:49:52 2019
New Revision: 368874

URL: http://llvm.org/viewvc/llvm-project?rev=368874&view=rev
Document clang-cpp in the release notes for clang

This patch adds a line in the release notes about the new clang-cpp library and the CMake option to force clang to link against it.


Modified: cfe/trunk/docs/ReleaseNotes.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/ReleaseNotes.rst?rev=368874&r1=368873&r2=368874&view=diff
--- cfe/trunk/docs/ReleaseNotes.rst (original)
+++ cfe/trunk/docs/ReleaseNotes.rst Wed Aug 14 09:49:52 2019
@@ -157,7 +157,15 @@ release of Clang. Users of the build sys
   install-clang-headers target now installs clang's API headers (corresponding
   to its libraries), which is consistent with the install-llvm-headers target.
--  ...
+- In 9.0.0 and later Clang added a new target, clang-cpp, which generates a
+  shared library comprised of all the clang component libraries and exporting
+  the clang C++ APIs. Additionally the build system gained the new
+  "CLANG_LINK_CLANG_DYLIB" option, which defaults Off, and when set to On, will
+  force clang (and clang-based tools) to link the clang-cpp library instead of
+  statically linking clang's components. This option will reduce the size of
+  binary distributions at the expense of compiler performance.
+- ...
 AST Matchers

More information about the cfe-commits mailing list