summaryrefslogtreecommitdiffstats
path: root/clang/docs/ReleaseNotes.rst
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2019-08-30 09:29:34 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2019-08-30 09:29:34 +0000
commitb22804b35464049ca92107d45042d2a5bbd292f6 (patch)
tree4e29b283156209efc4945de2129c9f8ad878d28f /clang/docs/ReleaseNotes.rst
parent12a7e6c09cda7fd0259be85c949cf87b040bf1b7 (diff)
downloadbcm5719-llvm-b22804b35464049ca92107d45042d2a5bbd292f6.tar.gz
bcm5719-llvm-b22804b35464049ca92107d45042d2a5bbd292f6.zip
[Tooling] Migrated APIs that take ownership of objects to unique_ptr
Subscribers: jkorous, arphaman, kadircet, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D66960 llvm-svn: 370451
Diffstat (limited to 'clang/docs/ReleaseNotes.rst')
-rw-r--r--clang/docs/ReleaseNotes.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 403b3fbc8a7..bf02a379fd3 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -148,6 +148,12 @@ These are major API changes that have happened since the 9.0.0 release of
Clang. If upgrading an external codebase that uses Clang as a library,
this section should help get you past the largest hurdles of upgrading.
+- libTooling APIs that transfer ownership of `FrontendAction` objects now pass
+ them by `unique_ptr`, making the ownership transfer obvious in the type
+ system. `FrontendActionFactory::create()` now returns a
+ `unique_ptr<FrontendAction>`. `runToolOnCode`, `runToolOnCodeWithArgs`,
+ `ToolInvocation::ToolInvocation()` now take a `unique_ptr<FrontendAction>`.
+
Build System Changes
--------------------
OpenPOWER on IntegriCloud