Lines Matching refs:LBraceStack
322 SmallVector<FormatToken *, 8> LBraceStack; in calculateBraceTypes() local
342 LBraceStack.push_back(Tok); in calculateBraceTypes()
345 if (LBraceStack.empty()) in calculateBraceTypes()
347 if (LBraceStack.back()->BlockKind == BK_Unknown) { in calculateBraceTypes()
372 (!ExpectClassBody || LBraceStack.size() != 1)) || in calculateBraceTypes()
377 LBraceStack.back()->BlockKind = BK_BracedInit; in calculateBraceTypes()
380 LBraceStack.back()->BlockKind = BK_Block; in calculateBraceTypes()
383 LBraceStack.pop_back(); in calculateBraceTypes()
393 if (!LBraceStack.empty() && LBraceStack.back()->BlockKind == BK_Unknown) in calculateBraceTypes()
394 LBraceStack.back()->BlockKind = BK_Block; in calculateBraceTypes()
401 } while (Tok->Tok.isNot(tok::eof) && !LBraceStack.empty()); in calculateBraceTypes()
404 for (unsigned i = 0, e = LBraceStack.size(); i != e; ++i) { in calculateBraceTypes()
405 if (LBraceStack[i]->BlockKind == BK_Unknown) in calculateBraceTypes()
406 LBraceStack[i]->BlockKind = BK_Block; in calculateBraceTypes()