Searched refs:Contexts (Results 1 - 11 of 11) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/clang/lib/Format/
H A DTokenAnnotator.cpp70 Contexts.push_back(Context(tok::unknown, 1, /*IsExpression=*/false));
85 if (Previous.Previous->is(tok::r_paren) && Contexts.size() > 1 &&
92 Left->ParentBracket = Contexts.back().ContextKind;
97 bool InExprContext = Contexts.back().IsExpression;
99 Contexts.back().IsExpression = false;
102 Contexts.back().InTemplateArgument =
145 Contexts[Contexts.size() - 2].IsExpression &&
167 Left->ParentBracket = Contexts.back().ContextKind;
171 Contexts
1855 SmallVector<Context, 8> Contexts; member in class:clang::format::__anon3007::AnnotatingParser
[all...]
/freebsd-12-stable/contrib/llvm-project/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp91 void AnalysisDeclContextManager::clear() { Contexts.clear(); }
303 std::unique_ptr<AnalysisDeclContext> &AC = Contexts[D];
389 LOC *L = cast_or_null<LOC>(Contexts.FindNodeOrInsertPos(ID, InsertPos));
393 Contexts.InsertNode(L, InsertPos);
405 cast_or_null<StackFrameContext>(Contexts.FindNodeOrInsertPos(ID, InsertPos));
408 Contexts.InsertNode(L, InsertPos);
429 cast_or_null<BlockInvocationContext>(Contexts.FindNodeOrInsertPos(ID,
433 Contexts.InsertNode(L, InsertPos);
693 for (llvm::FoldingSet<LocationContext>::iterator I = Contexts.begin(),
694 E = Contexts
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFLinkerDeclContext.cpp179 auto ContextIter = Contexts.find(&Key);
181 if (ContextIter == Contexts.end()) {
187 std::tie(ContextIter, Inserted) = Contexts.insert(NewContext);
197 assert(ContextIter != Contexts.end());
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp314 SmallVector<std::unique_ptr<WriterContext>, 4> Contexts; local
316 Contexts.emplace_back(std::make_unique<WriterContext>(
321 loadInput(Input, Remapper, Contexts[0].get());
328 Pool.async(loadInput, Input, Remapper, Contexts[Ctx].get());
334 unsigned Mid = Contexts.size() / 2;
335 unsigned End = Contexts.size();
339 Pool.async(mergeWriterContexts, Contexts[I].get(),
340 Contexts[I + Mid].get());
343 Pool.async(mergeWriterContexts, Contexts[0].get(),
344 Contexts[En
[all...]
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp1243 DeclContext::collectAllContexts(SmallVectorImpl<DeclContext *> &Contexts){ argument
1244 Contexts.clear();
1247 Contexts.push_back(this);
1254 Contexts.push_back(N);
1256 std::reverse(Contexts.begin(), Contexts.end());
1557 SmallVector<DeclContext *, 2> Contexts;
1558 collectAllContexts(Contexts);
1562 for (auto *DC : Contexts) {
1574 for (auto *DC : Contexts)
1704 SmallVector<DeclContext *, 2> Contexts; local
[all...]
H A DDecl.cpp1603 ContextsTy Contexts;
1608 Contexts.push_back(Ctx);
1612 for (const DeclContext *DC : llvm::reverse(Contexts)) {
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/DWARFLinker/
H A DDWARFLinkerDeclContext.h141 DeclContext::Map Contexts; member in class:llvm::DeclContextTree
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp373 SmallVector<const DeclContext *, 2> Contexts;
377 Contexts.push_back(DC);
387 for (unsigned I = Contexts.size(); I != 0; --I) {
394 const DeclContext *CurDC = Contexts[I - 1];
/freebsd-12-stable/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp296 uint64_t Contexts = 0;
302 Contexts |= (1LL << CodeCompletionContext::CCC_TopLevel)
311 Contexts |= (1LL << CodeCompletionContext::CCC_Expression);
316 Contexts |= (1LL << CodeCompletionContext::CCC_ObjCMessageReceiver);
322 Contexts |= (1LL << CodeCompletionContext::CCC_Expression);
323 Contexts |= (1LL << CodeCompletionContext::CCC_ObjCInterfaceName);
328 Contexts |= (1LL << CodeCompletionContext::CCC_EnumTag);
335 Contexts |= (1LL << CodeCompletionContext::CCC_UnionTag);
337 Contexts |= (1LL << CodeCompletionContext::CCC_ClassOrStructTag);
345 Contexts
[all...]
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Analysis/
H A DAnalysisDeclContext.h407 llvm::FoldingSet<LocationContext> Contexts; member in class:clang::LocationContextManager
443 ContextMap Contexts;
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/
H A DDeclBase.h1981 /// The \c Contexts parameter will contain both definitions of N.
1983 /// \param Contexts Will be cleared and set to the set of declaration
1987 void collectAllContexts(SmallVectorImpl<DeclContext *> &Contexts);

Completed in 301 milliseconds