Home
last modified time | relevance | path

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

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