File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -550,18 +550,19 @@ class FormatWalker : public SourceEntityWalker {
550
550
// FIXME: We are going to revisit the behavior and the indentation we
551
551
// want for dictionary/array literals.
552
552
//
553
- /* SourceLoc LBracketLoc = AE->getLBracketLoc();
553
+ #ifdef 0
554
+ SourceLoc LBracketLoc = AE->getLBracketLoc ();
554
555
if (isTargetImmediateAfter (LBracketLoc) &&
555
556
!sameLineWithTarget (LBracketLoc)) {
556
557
FoundSibling = LBracketLoc;
557
558
NeedExtraIndentation = true ;
558
- }*/
559
+ }
560
+ #endif
559
561
for (unsigned I = 0 , N = AE->getNumElements (); I < N; I++) {
560
562
addPair (AE->getElement (I)->getEndLoc (),
561
563
FindAlignLoc (AE->getElement (I)->getStartLoc ()), tok::comma);
562
564
}
563
565
}
564
-
565
566
// Case label items in a case statement are siblings.
566
567
if (auto CS = dyn_cast_or_null<CaseStmt>(Node.dyn_cast <Stmt *>())) {
567
568
for (const CaseLabelItem& Item : CS->getCaseLabelItems ()) {
You can’t perform that action at this time.
0 commit comments