summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2019-10-02 09:52:52 +0000
committerSam McCall <sam.mccall@gmail.com>2019-10-02 09:52:52 +0000
commit9fde01ce6d48fea18e196f6a72283b1fb355128d (patch)
tree27d0444fa3d1dc863f88fc47ea00e7ee71e50002 /docs
parent8a4696a6507c068d4451877725d5d618de4c6342 (diff)
downloadclang-9fde01ce6d48fea18e196f6a72283b1fb355128d.tar.gz
[ClangFormat] relnotes for r373439
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@373441 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/ReleaseNotes.rst10
1 files changed, 9 insertions, 1 deletions
diff --git a/docs/ReleaseNotes.rst b/docs/ReleaseNotes.rst
index 91ae3071ff..95dd51e634 100644
--- a/docs/ReleaseNotes.rst
+++ b/docs/ReleaseNotes.rst
@@ -210,7 +210,15 @@ AST Matchers
clang-format
------------
-- ...
+- The ``Standard`` style option specifies which version of C++ should be used
+ when parsing and formatting C++ code. The set of allowed values has changed:
+ - ``Latest`` will always enable new C++ language features.
+ - ``c++03``, ``c++11``, ``c++14``, ``c++17``, ``c++20`` will pin to exactly
+ that language version.
+ - ``Auto`` is the default and detects style from the code (this is unchanged).
+ The previous values of ``Cpp03`` and ``Cpp11`` are deprecated. Note that
+ ``Cpp11`` is treated as ``Latest``, as this was always clang-format's behavior.
+ (One motivation for this change is the new name describes the behavior better).
libclang
--------