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

/freebsd-13-stable/contrib/llvm-project/clang/lib/Format/
H A DTokenAnnotator.cpp77 Contexts.push_back(Context(tok::unknown, 1, /*IsExpression=*/false));
92 if (Previous.Previous->is(tok::r_paren) && Contexts.size() > 1 &&
99 Left->ParentBracket = Contexts.back().ContextKind;
104 bool InExprContext = Contexts.back().IsExpression;
106 Contexts.back().IsExpression = false;
109 Contexts.back().InTemplateArgument =
158 Contexts[Contexts.size() - 2].IsExpression &&
201 Left->ParentBracket = Contexts.back().ContextKind;
205 Contexts
2005 SmallVector<Context, 8> Contexts; member in class:clang::format::__anon1872::AnnotatingParser
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFLinkerDeclContext.cpp183 auto ContextIter = Contexts.find(&Key);
185 if (ContextIter == Contexts.end()) {
191 std::tie(ContextIter, Inserted) = Contexts.insert(NewContext);
201 assert(ContextIter != Contexts.end());
H A DDWARFLinker.cpp254 DeclContextTree &Contexts, uint64_t ModulesEndOffset,
284 auto PtrInvalidPair = Contexts.getChildDeclContext(
299 StringPool, Contexts, ModulesEndOffset,
2296 // ODR Contexts for the optimize.
251 analyzeContextInfo( const DWARFDie &DIE, unsigned ParentIdx, CompileUnit &CU, DeclContext *CurrentDeclContext, UniquingStringPool &StringPool, DeclContextTree &Contexts, uint64_t ModulesEndOffset, swiftInterfacesMap *ParseableSwiftInterfaces, std::function<void(const Twine &, const DWARFDie &)> ReportWarning, bool InImportedModule = false) argument
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp91 void AnalysisDeclContextManager::clear() { Contexts.clear(); }
303 std::unique_ptr<AnalysisDeclContext> &AC = Contexts[D];
382 cast_or_null<StackFrameContext>(Contexts.FindNodeOrInsertPos(ID, InsertPos));
385 Contexts.InsertNode(L, InsertPos);
397 cast_or_null<BlockInvocationContext>(Contexts.FindNodeOrInsertPos(ID,
401 Contexts.InsertNode(L, InsertPos);
646 for (llvm::FoldingSet<LocationContext>::iterator I = Contexts.begin(),
647 E = Contexts.end(); I != E; ) {
652 Contexts.clear();
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp1289 DeclContext::collectAllContexts(SmallVectorImpl<DeclContext *> &Contexts){ argument
1290 Contexts.clear();
1293 Contexts.push_back(this);
1300 Contexts.push_back(N);
1302 std::reverse(Contexts.begin(), Contexts.end());
1610 SmallVector<DeclContext *, 2> Contexts;
1611 collectAllContexts(Contexts);
1615 for (auto *DC : Contexts) {
1627 for (auto *DC : Contexts)
1757 SmallVector<DeclContext *, 2> Contexts; local
[all...]
H A DDecl.cpp1590 ContextsTy Contexts;
1595 Contexts.push_back(Ctx);
1599 for (const DeclContext *DC : llvm::reverse(Contexts)) {
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp334 SmallVector<std::unique_ptr<WriterContext>, 4> Contexts; local
336 Contexts.emplace_back(std::make_unique<WriterContext>(
341 loadInput(Input, Remapper, Contexts[0].get());
348 Pool.async(loadInput, Input, Remapper, Contexts[Ctx].get());
354 unsigned Mid = Contexts.size() / 2;
355 unsigned End = Contexts.size();
359 Pool.async(mergeWriterContexts, Contexts[I].get(),
360 Contexts[I + Mid].get());
363 Pool.async(mergeWriterContexts, Contexts[0].get(),
364 Contexts[En
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DWARFLinker/
H A DDWARFLinkerDeclContext.h142 DeclContext::Map Contexts; member in class:llvm::DeclContextTree
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp374 SmallVector<const DeclContext *, 2> Contexts;
378 Contexts.push_back(DC);
388 for (unsigned I = Contexts.size(); I != 0; --I) {
395 const DeclContext *CurDC = Contexts[I - 1];
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/
H A DAnalysisDeclContext.h382 llvm::FoldingSet<LocationContext> Contexts; member in class:clang::LocationContextManager
423 ContextMap Contexts;
/freebsd-13-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-13-stable/contrib/kyua/store/
H A Dschema_v3.sql66 -- Contexts.
H A Dschema_v1.sql64 -- Contexts.
H A Dschema_v2.sql66 -- Contexts.
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DDeclBase.h2012 /// The \c Contexts parameter will contain both definitions of N.
2014 /// \param Contexts Will be cleared and set to the set of declaration
2018 void collectAllContexts(SmallVectorImpl<DeclContext *> &Contexts);

Completed in 244 milliseconds