[llvm-branch-commits] [cfe-branch] r311455 - Mention libclang code-completion changes in release notes
Alex Lorenz via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Aug 22 06:36:03 PDT 2017
Author: arphaman
Date: Tue Aug 22 06:36:03 2017
New Revision: 311455
URL: http://llvm.org/viewvc/llvm-project?rev=311455&view=rev
Log:
Mention libclang code-completion changes in release notes
Modified:
cfe/branches/release_50/docs/ReleaseNotes.rst
Modified: cfe/branches/release_50/docs/ReleaseNotes.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_50/docs/ReleaseNotes.rst?rev=311455&r1=311454&r2=311455&view=diff
==============================================================================
--- cfe/branches/release_50/docs/ReleaseNotes.rst (original)
+++ cfe/branches/release_50/docs/ReleaseNotes.rst Tue Aug 22 06:36:03 2017
@@ -266,8 +266,30 @@ clang-format
libclang
--------
-...
+- Libclang now provides code-completion results for more C++ constructs
+ and keywords. The following keywords/identifiers are now included in the
+ code-completion results: ``static_assert``, ``alignas``, ``constexpr``,
+ ``final``, ``noexcept``, ``override`` and ``thread_local``.
+- Libclang now provides code-completion results for members from dependent
+ classes. For example:
+
+ .. code-block:: c++
+
+ template<typename T>
+ void appendValue(std::vector<T> &dest, const T &value) {
+ dest. // Relevant completion results are now shown after '.'
+ }
+
+ Note that code-completion results are still not provided when the member
+ expression includes a dependent base expression. For example:
+
+ .. code-block:: c++
+
+ template<typename T>
+ void appendValue(std::vector<std::vector<T>> &dest, const T &value) {
+ dest.at(0). // Libclang fails to provide completion results after '.'
+ }
Static Analyzer
---------------
More information about the llvm-branch-commits
mailing list