Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVCompare.h31 LVScopes ScopeStack; variable
66 void push(LVScope *Scope) { ScopeStack.push_back(Scope); } in push()
67 void pop() { ScopeStack.pop_back(); } in pop()
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DWhitespaceManager.cpp259 SmallVector<bool, 16> ScopeStack; in calculateLineBreakInformation() local
270 ScopeStack.push_back(isNestedConditional); in calculateLineBreakInformation()
275 for (unsigned i = Change.Tok->FakeRParens; i > 0 && ScopeStack.size(); --i) in calculateLineBreakInformation()
276 if (ScopeStack.pop_back_val()) in calculateLineBreakInformation()
313 SmallVector<unsigned, 16> ScopeStack; in AlignTokenSequence() local
317 if (!ScopeStack.empty() && in AlignTokenSequence()
319 Changes[ScopeStack.back()].indentAndNestingLevel()) { in AlignTokenSequence()
320 ScopeStack.pop_back(); in AlignTokenSequence()
332 ScopeStack.push_back(i); in AlignTokenSequence()
335 bool InsideNestedScope = !ScopeStack.empty(); in AlignTokenSequence()
[all …]
H A DTokenAnnotator.cpp3713 auto &ScopeStack = Line.InMacroBody ? MacroBodyScopes : Scopes; in annotate() local
3714 AnnotatingParser Parser(Style, Line, Keywords, ScopeStack); in annotate()
3718 ScopeStack.push_back(ST_Other); in annotate()
3729 if (!ScopeStack.empty()) in annotate()
3730 ScopeStack.pop_back(); in annotate()
3749 if (Tok && ((!ScopeStack.empty() && ScopeStack.back() == ST_Class) || in annotate()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/
H A DLVCodeViewVisitor.h256 LVScopeStack ScopeStack;
322 ScopeStack.push(ReaderParent); in pushScope()
328 ReaderParent = ScopeStack.top(); in popScope()
329 ScopeStack.pop(); in popScope()
255 LVScopeStack ScopeStack; global() variable
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVCompare.cpp355 for (const LVScope *Scope : ScopeStack) { in printCurrentStack()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewVisitor.cpp2960 if (!ScopeStack.empty()) in addElement()