summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/Format.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2014-09-24 17:17:32 +0000
committerNico Weber <nicolasweber@gmx.de>2014-09-24 17:17:32 +0000
commit7533b4dada21d04b10bd9f435309c25a25f3e3ec (patch)
treed346bb646639af8d63574d2023b8c3705477239b /clang/lib/Format/Format.cpp
parent4edda28b8ac076ce31c0003ce3562b0207c106e1 (diff)
downloadbcm5719-llvm-7533b4dada21d04b10bd9f435309c25a25f3e3ec.tar.gz
bcm5719-llvm-7533b4dada21d04b10bd9f435309c25a25f3e3ec.zip
clang-format: Don't let -style=Chromium imply c++03 template formatting.
Chromium's now using some c++11 language features, so it's now fine that clang-format produces vector<vector<int>>. llvm-svn: 218392
Diffstat (limited to 'clang/lib/Format/Format.cpp')
-rw-r--r--clang/lib/Format/Format.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp
index 2948ec48cde..e70bad9f3be 100644
--- a/clang/lib/Format/Format.cpp
+++ b/clang/lib/Format/Format.cpp
@@ -430,7 +430,6 @@ FormatStyle getChromiumStyle(FormatStyle::LanguageKind Language) {
ChromiumStyle.AllowShortLoopsOnASingleLine = false;
ChromiumStyle.BinPackParameters = false;
ChromiumStyle.DerivePointerAlignment = false;
- ChromiumStyle.Standard = FormatStyle::LS_Cpp03;
return ChromiumStyle;
}
OpenPOWER on IntegriCloud