commit | 36d6f56f229ac07e7aca9c6a6b1871ca5e945efd | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Thu May 28 17:53:49 2020 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Thu May 28 17:55:42 2020 -0500 |
tree | 933dec7c02dc0ac4538ab61b38408b632fa0c201 | |
parent | b6de1960d9b896f2b48e6b0c676035afa0e432a6 [diff] [blame] |
clang-format: set standard to 'Latest' Per the LLVM code, the string 'Cpp11' is actually an alias to 'Latest', while 'C++11' is C++11. We want to tend towards using the latest C++ standard anyhow, so set clang-format to 'Latest'. This is both what we are already asking clang-format to do and clearer for people looking at the file. https://github.com/llvm/llvm-project/commit/e5032567903de19962333c4bf7d2edceaf4f9824#diff-b49a097415dff2837d9626d422c58ba8R82 Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I430c58633b0d285cc617d013f8a1d6b3832aeba5
diff --git a/style/cpp/.clang-format b/style/cpp/.clang-format index ef6f54e..52ac0a1 100644 --- a/style/cpp/.clang-format +++ b/style/cpp/.clang-format
@@ -108,7 +108,7 @@ SpacesInCStyleCastParentheses: false SpacesInParentheses: false SpacesInSquareBrackets: false -Standard: Cpp11 +Standard: Latest TabWidth: 4 UseTab: Never ...