Home
last modified time | relevance | path

Searched refs:LBraceStack (Results 1 – 1 of 1) sorted by relevance

/external/clang/lib/Format/
DUnwrappedLineParser.cpp320 SmallVector<FormatToken *, 8> LBraceStack; in calculateBraceTypes() local
333 LBraceStack.push_back(Tok); in calculateBraceTypes()
336 if (!LBraceStack.empty()) { in calculateBraceTypes()
337 if (LBraceStack.back()->BlockKind == BK_Unknown) { in calculateBraceTypes()
363 LBraceStack.back()->BlockKind = BK_BracedInit; in calculateBraceTypes()
366 LBraceStack.back()->BlockKind = BK_Block; in calculateBraceTypes()
369 LBraceStack.pop_back(); in calculateBraceTypes()
380 if (!LBraceStack.empty()) in calculateBraceTypes()
381 LBraceStack.back()->BlockKind = BK_Block; in calculateBraceTypes()
387 } while (Tok->Tok.isNot(tok::eof) && !LBraceStack.empty()); in calculateBraceTypes()
[all …]