Home
last modified time | relevance | path

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

/external/clang/lib/Format/
DUnwrappedLineParser.cpp322 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()
[all …]