r373441 - [ClangFormat] relnotes for r373439

Sam McCall via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 2 02:52:52 PDT 2019


Author: sammccall
Date: Wed Oct  2 02:52:52 2019
New Revision: 373441

URL: http://llvm.org/viewvc/llvm-project?rev=373441&view=rev
Log:
[ClangFormat] relnotes for r373439

Modified:
    cfe/trunk/docs/ReleaseNotes.rst

Modified: cfe/trunk/docs/ReleaseNotes.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/ReleaseNotes.rst?rev=373441&r1=373440&r2=373441&view=diff
==============================================================================
--- cfe/trunk/docs/ReleaseNotes.rst (original)
+++ cfe/trunk/docs/ReleaseNotes.rst Wed Oct  2 02:52:52 2019
@@ -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
 --------




More information about the cfe-commits mailing list