diff options
| author | Daniel Jasper <djasper@google.com> | 2016-08-31 14:05:56 +0000 |
|---|---|---|
| committer | Daniel Jasper <djasper@google.com> | 2016-08-31 14:05:56 +0000 |
| commit | 3042713b4b7a22e8a0c42266668e8eb5cefc4844 (patch) | |
| tree | 93f48fb0040c79e78f33711cb87762e8199e8323 /clang/lib/Format | |
| parent | 64488118bf0da9c8df53ea926d5b3f57e30c9b2c (diff) | |
| download | bcm5719-llvm-3042713b4b7a22e8a0c42266668e8eb5cefc4844.tar.gz bcm5719-llvm-3042713b4b7a22e8a0c42266668e8eb5cefc4844.zip | |
clang-format: Set default WebKit style to use C++11.
The WebKit style page says to use nullptr, so this should be fine:
https://webkit.org/code-style-guidelines/
This fixes: llvm.org/PR30220
llvm-svn: 280245
Diffstat (limited to 'clang/lib/Format')
| -rw-r--r-- | clang/lib/Format/Format.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp index 86f4ae1f196..26ef38d60c2 100644 --- a/clang/lib/Format/Format.cpp +++ b/clang/lib/Format/Format.cpp @@ -685,7 +685,6 @@ FormatStyle getWebKitStyle() { Style.ObjCBlockIndentWidth = 4; Style.ObjCSpaceAfterProperty = true; Style.PointerAlignment = FormatStyle::PAS_Left; - Style.Standard = FormatStyle::LS_Cpp03; return Style; } |

