Skip to content

Commit c5621a6

Browse files
committed
fixed duplicated cases for TT_TableGenValueSuffix in canBreakBefore.
1 parent b291f90 commit c5621a6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

clang/lib/Format/TokenAnnotator.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5869,9 +5869,6 @@ bool TokenAnnotator::canBreakBefore(const AnnotatedLine &Line,
58695869
return !Left.isOneOf(TT_TableGenBangOperator, TT_TableGenCondOperator,
58705870
TT_TemplateCloser);
58715871
}
5872-
// Avoid to split the value and its suffix part.
5873-
if (Left.is(TT_TableGenValueSuffix))
5874-
return false;
58755872
// Avoid to break between the value and its suffix part.
58765873
if (Left.is(TT_TableGenValueSuffix))
58775874
return false;

0 commit comments

Comments
 (0)