Lines Matching refs:LBraceStack
321 SmallVector<FormatToken *, 8> LBraceStack; in calculateBraceTypes() local
335 LBraceStack.push_back(Tok); in calculateBraceTypes()
338 if (!LBraceStack.empty()) { in calculateBraceTypes()
339 if (LBraceStack.back()->BlockKind == BK_Unknown) { in calculateBraceTypes()
362 (!ExpectClassBody || LBraceStack.size() != 1)) || in calculateBraceTypes()
367 LBraceStack.back()->BlockKind = BK_BracedInit; in calculateBraceTypes()
370 LBraceStack.back()->BlockKind = BK_Block; in calculateBraceTypes()
373 LBraceStack.pop_back(); in calculateBraceTypes()
384 if (!LBraceStack.empty()) in calculateBraceTypes()
385 LBraceStack.back()->BlockKind = BK_Block; in calculateBraceTypes()
391 } while (Tok->Tok.isNot(tok::eof) && !LBraceStack.empty()); in calculateBraceTypes()
393 for (unsigned i = 0, e = LBraceStack.size(); i != e; ++i) { in calculateBraceTypes()
394 if (LBraceStack[i]->BlockKind == BK_Unknown) in calculateBraceTypes()
395 LBraceStack[i]->BlockKind = BK_Block; in calculateBraceTypes()