forked from OSchip/llvm-project
clang-format: Add missing members to FormatStyle::operator==
Summary: Depends on D10784. Reviewers: djasper Reviewed By: djasper Subscribers: dblaikie, klimek, cfe-commits Differential Revision: http://reviews.llvm.org/D10785 llvm-svn: 240908
This commit is contained in:
parent
35cfbd7988
commit
5cff10fcf5
|
@ -427,12 +427,15 @@ struct FormatStyle {
|
|||
bool operator==(const FormatStyle &R) const {
|
||||
return AccessModifierOffset == R.AccessModifierOffset &&
|
||||
AlignAfterOpenBracket == R.AlignAfterOpenBracket &&
|
||||
AlignConsecutiveAssignments == R.AlignConsecutiveAssignments &&
|
||||
AlignEscapedNewlinesLeft == R.AlignEscapedNewlinesLeft &&
|
||||
AlignOperands == R.AlignOperands &&
|
||||
AlignTrailingComments == R.AlignTrailingComments &&
|
||||
AllowAllParametersOfDeclarationOnNextLine ==
|
||||
R.AllowAllParametersOfDeclarationOnNextLine &&
|
||||
AllowShortBlocksOnASingleLine == R.AllowShortBlocksOnASingleLine &&
|
||||
AllowShortCaseLabelsOnASingleLine ==
|
||||
R.AllowShortCaseLabelsOnASingleLine &&
|
||||
AllowShortFunctionsOnASingleLine ==
|
||||
R.AllowShortFunctionsOnASingleLine &&
|
||||
AllowShortIfStatementsOnASingleLine ==
|
||||
|
@ -460,6 +463,7 @@ struct FormatStyle {
|
|||
ContinuationIndentWidth == R.ContinuationIndentWidth &&
|
||||
Cpp11BracedListStyle == R.Cpp11BracedListStyle &&
|
||||
DerivePointerAlignment == R.DerivePointerAlignment &&
|
||||
DisableFormat == R.DisableFormat &&
|
||||
ExperimentalAutoDetectBinPacking ==
|
||||
R.ExperimentalAutoDetectBinPacking &&
|
||||
ForEachMacros == R.ForEachMacros &&
|
||||
|
@ -473,6 +477,8 @@ struct FormatStyle {
|
|||
ObjCBlockIndentWidth == R.ObjCBlockIndentWidth &&
|
||||
ObjCSpaceAfterProperty == R.ObjCSpaceAfterProperty &&
|
||||
ObjCSpaceBeforeProtocolList == R.ObjCSpaceBeforeProtocolList &&
|
||||
PenaltyBreakBeforeFirstCallParameter ==
|
||||
R.PenaltyBreakBeforeFirstCallParameter &&
|
||||
PenaltyBreakComment == R.PenaltyBreakComment &&
|
||||
PenaltyBreakFirstLessLess == R.PenaltyBreakFirstLessLess &&
|
||||
PenaltyBreakString == R.PenaltyBreakString &&
|
||||
|
|
Loading…
Reference in New Issue