diff options
author | Sam McCall <sam.mccall@gmail.com> | 2019-10-02 09:52:52 +0000 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2019-10-02 09:52:52 +0000 |
commit | 08bfd9e42e141b55ef96b81287ed7cb5c3ac3d6b (patch) | |
tree | 812d4120b75619d93758f4a3215fb32fbd67d7ab /clang/docs/ReleaseNotes.rst | |
parent | fbd134f96983dd5238f286ed072268e902eda2d5 (diff) | |
download | bcm5719-llvm-08bfd9e42e141b55ef96b81287ed7cb5c3ac3d6b.tar.gz bcm5719-llvm-08bfd9e42e141b55ef96b81287ed7cb5c3ac3d6b.zip |
[ClangFormat] relnotes for r373439
llvm-svn: 373441
Diffstat (limited to 'clang/docs/ReleaseNotes.rst')
-rw-r--r-- | clang/docs/ReleaseNotes.rst | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst index 91ae3071ff8..95dd51e6347 100644 --- a/clang/docs/ReleaseNotes.rst +++ b/clang/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 -------- |