summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/include/clang/Format/Format.h5
-rw-r--r--clang/lib/Format/Format.cpp2
2 files changed, 0 insertions, 7 deletions
diff --git a/clang/include/clang/Format/Format.h b/clang/include/clang/Format/Format.h
index 49e6909f7ec..7af5a094511 100644
--- a/clang/include/clang/Format/Format.h
+++ b/clang/include/clang/Format/Format.h
@@ -94,10 +94,6 @@ struct FormatStyle {
/// <tt>A<A<int> ></tt> instead of \c A<A<int>> for LS_Cpp03.
LanguageStandard Standard;
- /// \brief When \c true, blocks (including braces) get an additional level of
- /// indentation.
- bool IndentBlocks;
-
/// \brief Indent case labels one level from the switch statement.
///
/// When \c false, use the same indentation level as for the switch statement.
@@ -312,7 +308,6 @@ struct FormatStyle {
DerivePointerBinding == R.DerivePointerBinding &&
ExperimentalAutoDetectBinPacking ==
R.ExperimentalAutoDetectBinPacking &&
- IndentBlocks == R.IndentBlocks &&
IndentCaseLabels == R.IndentCaseLabels &&
IndentFunctionDeclarationAfterType ==
R.IndentFunctionDeclarationAfterType &&
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp
index 4225178405c..808e64db915 100644
--- a/clang/lib/Format/Format.cpp
+++ b/clang/lib/Format/Format.cpp
@@ -256,7 +256,6 @@ FormatStyle getLLVMStyle() {
LLVMStyle.Cpp11BracedListStyle = false;
LLVMStyle.DerivePointerBinding = false;
LLVMStyle.ExperimentalAutoDetectBinPacking = false;
- LLVMStyle.IndentBlocks = false;
LLVMStyle.IndentCaseLabels = false;
LLVMStyle.IndentFunctionDeclarationAfterType = false;
LLVMStyle.IndentWidth = 2;
@@ -363,7 +362,6 @@ FormatStyle getGNUStyle() {
Style.BreakBeforeBraces = FormatStyle::BS_Allman;
Style.BreakBeforeTernaryOperators = true;
Style.ColumnLimit = 79;
- Style.IndentBlocks = true;
Style.SpaceBeforeParens = FormatStyle::SBPO_Always;
return Style;
}
OpenPOWER on IntegriCloud