| /llvm-project-15.0.7/clang-tools-extra/test/clang-include-fixer/Inputs/ |
| H A D | fake_yaml_db.yaml | 3 Contexts: 14 Contexts: 25 Contexts: 36 Contexts: 47 Contexts: 58 Contexts: 65 Contexts:
|
| /llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/find-all-symbols/ |
| H A D | SymbolInfo.cpp | 29 io.mapRequired("Contexts", Symbol.Symbol.Contexts); in mapping() 73 const std::vector<Context> &Contexts) in SymbolInfo() argument 74 : Name(Name), Type(Type), FilePath(FilePath), Contexts(Contexts) {} in SymbolInfo() 77 return std::tie(Name, Type, FilePath, Contexts) == in operator ==() 78 std::tie(Symbol.Name, Symbol.Type, Symbol.FilePath, Symbol.Contexts); in operator ==() 82 return std::tie(Name, Type, FilePath, Contexts) < in operator <() 83 std::tie(Symbol.Name, Symbol.Type, Symbol.FilePath, Symbol.Contexts); in operator <() 88 for (const auto &Context : Contexts) { in getQualifiedName()
|
| H A D | SymbolInfo.h | 75 const std::vector<Context> &Contexts); 93 return Contexts; in getContexts() 123 std::vector<Context> Contexts;
|
| H A D | FindAllSymbols.cpp | 47 std::vector<SymbolInfo::Context> Contexts; in GetContexts() local 58 Contexts.emplace_back(SymbolInfo::ContextType::Namespace, in GetContexts() 61 Contexts.emplace_back(SymbolInfo::ContextType::EnumDecl, in GetContexts() 65 Contexts.emplace_back(SymbolInfo::ContextType::Record, in GetContexts() 69 return Contexts; in GetContexts()
|
| /llvm-project-15.0.7/clang/lib/Format/ |
| H A D | TokenAnnotator.cpp | 179 Contexts[Contexts.size() - 2].IsExpression && in parseAngle() 232 Contexts.size() == 2 && Contexts[0].ColonIsForRangeExpr; in parseParens() 294 } else if (Contexts[Contexts.size() - 2].CaretFound) { in parseParens() 340 bool MightBeFunctionType = !Contexts[Contexts.size() - 2].IsExpression; in parseParens() 582 (Contexts.back().CanBeExpression || Contexts.back().IsExpression || in parseSquare() 789 if (Contexts.size() < 2) in couldBeInStructArrayInitializer() 794 auto Last = Contexts.rbegin(); in couldBeInStructArrayInitializer() 811 if (Contexts.back().CaretFound) in parseBrace() 1593 P.Contexts.pop_back(); in ~ScopedContextCreator() 1598 P.Contexts.pop_back(); in ~ScopedContextCreator() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-include-fixer/ |
| H A D | merge.test | 6 Contexts: 16 Contexts: 26 Contexts:
|
| /llvm-project-15.0.7/openmp/libomptarget/plugins/ve/src/ |
| H A D | rtl.cpp | 57 std::vector<struct veo_thr_ctxt *> Contexts; member in RTLDeviceInfoTy 123 Contexts.resize(NumDevices, NULL); in RTLDeviceInfoTy() 129 for (auto &ctx : Contexts) { in ~RTLDeviceInfoTy() 158 veo_call_async(DeviceInfo.Contexts[DeviceID], FuncAddr, args); in target_run_function_wait() 168 int ret = veo_call_wait_result(DeviceInfo.Contexts[DeviceID], RequestHandle, in target_run_function_wait() 281 if (DeviceInfo.Contexts[ID] == NULL) { in __tgt_rtl_load_binary() 289 DeviceInfo.Contexts[ID] = ctx; in __tgt_rtl_load_binary() 294 DeviceInfo.ProcHandles[ID], DeviceInfo.Contexts[ID]); in __tgt_rtl_load_binary()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-include-fixer/Inputs/merge/ |
| H A D | a.yaml | 3 Contexts: 13 Contexts:
|
| H A D | b.yaml | 3 Contexts: 13 Contexts:
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | UnusedUsingDeclsCheck.cpp | 96 Contexts.push_back(Context); in check() 164 for (auto &Context : Contexts) { in removeFromFoundDecls() 171 for (const auto &Context : Contexts) { in onEndOfTranslationUnit() 181 Contexts.clear(); in onEndOfTranslationUnit()
|
| H A D | UnusedUsingDeclsCheck.h | 50 std::vector<UsingDeclContext> Contexts; variable
|
| /llvm-project-15.0.7/llvm/lib/DWARFLinker/ |
| H A D | DWARFLinkerDeclContext.cpp | 162 auto ContextIter = Contexts.find(&Key); in getChildDeclContext() 164 if (ContextIter == Contexts.end()) { in getChildDeclContext() 170 std::tie(ContextIter, Inserted) = Contexts.insert(NewContext); in getChildDeclContext() 180 assert(ContextIter != Contexts.end()); in getChildDeclContext()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | AnalysisDeclContext.cpp | 91 void AnalysisDeclContextManager::clear() { Contexts.clear(); } in clear() 303 std::unique_ptr<AnalysisDeclContext> &AC = Contexts[D]; in getContext() 435 cast_or_null<StackFrameContext>(Contexts.FindNodeOrInsertPos(ID, InsertPos)); in getStackFrame() 438 Contexts.InsertNode(L, InsertPos); in getStackFrame() 450 cast_or_null<BlockInvocationContext>(Contexts.FindNodeOrInsertPos(ID, in getBlockInvocationContext() 454 Contexts.InsertNode(L, InsertPos); in getBlockInvocationContext() 699 for (llvm::FoldingSet<LocationContext>::iterator I = Contexts.begin(), in clear() 700 E = Contexts.end(); I != E; ) { in clear() 705 Contexts.clear(); in clear()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/tool/ |
| H A D | ClangIncludeFixer.cpp | 386 std::vector<include_fixer::IncludeFixerContext> Contexts; in includeFixerMain() local 387 include_fixer::IncludeFixerActionFactory Factory(*SymbolIndexMgr, Contexts, in includeFixerMain() 401 assert(!Contexts.empty()); in includeFixerMain() 405 writeToJson(llvm::outs(), Contexts.front()); in includeFixerMain() 410 for (const auto &Context : Contexts) { in includeFixerMain() 436 for (const auto &Context : Contexts) { in includeFixerMain()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | DeclBase.cpp | 1315 Contexts.push_back(D); in collectAllContextsImpl() 1317 std::reverse(Contexts.begin(), Contexts.end()); in collectAllContextsImpl() 1321 Contexts.clear(); in collectAllContexts() 1330 Contexts.push_back(this); in collectAllContexts() 1607 SmallVector<DeclContext *, 2> Contexts; in buildLookup() local 1608 collectAllContexts(Contexts); in buildLookup() 1612 for (auto *DC : Contexts) { in buildLookup() 1624 for (auto *DC : Contexts) in buildLookup() 1752 SmallVector<DeclContext *, 2> Contexts; in loadLazyLocalLexicalLookups() local 1753 collectAllContexts(Contexts); in loadLazyLocalLexicalLookups() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/ |
| H A D | IncludeFixer.h | 37 std::vector<IncludeFixerContext> &Contexts, 54 std::vector<IncludeFixerContext> &Contexts; variable
|
| H A D | IncludeFixer.cpp | 76 std::vector<IncludeFixerContext> &Contexts, StringRef StyleName, in IncludeFixerActionFactory() argument 78 : SymbolIndexMgr(SymbolIndexMgr), Contexts(Contexts), in IncludeFixerActionFactory() 110 Contexts.push_back(ScopedToolAction->getIncludeFixerContext( in runInvocation()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | ASTUnit.cpp | 297 uint64_t Contexts = 0; in getDeclShowContexts() local 303 Contexts |= (1LL << CodeCompletionContext::CCC_TopLevel) in getDeclShowContexts() 312 Contexts |= (1LL << CodeCompletionContext::CCC_Expression); in getDeclShowContexts() 323 Contexts |= (1LL << CodeCompletionContext::CCC_Expression); in getDeclShowContexts() 329 Contexts |= (1LL << CodeCompletionContext::CCC_EnumTag); in getDeclShowContexts() 336 Contexts |= (1LL << CodeCompletionContext::CCC_UnionTag); in getDeclShowContexts() 346 Contexts = (1LL << CodeCompletionContext::CCC_Statement) in getDeclShowContexts() 351 Contexts = (1LL << CodeCompletionContext::CCC_ObjCProtocolName); in getDeclShowContexts() 353 Contexts = (1LL << CodeCompletionContext::CCC_ObjCCategoryName); in getDeclShowContexts() 355 Contexts = (1LL << CodeCompletionContext::CCC_Namespace); in getDeclShowContexts() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Analysis/ |
| H A D | AnalysisDeclContext.h | 388 llvm::FoldingSet<LocationContext> Contexts; variable 429 ContextMap Contexts; variable
|
| /llvm-project-15.0.7/llvm/tools/llvm-profdata/ |
| H A D | llvm-profdata.cpp | 405 SmallVector<std::unique_ptr<WriterContext>, 4> Contexts; in mergeInstrProfile() local 407 Contexts.emplace_back(std::make_unique<WriterContext>( in mergeInstrProfile() 413 Contexts[0].get()); in mergeInstrProfile() 421 Contexts[Ctx].get()); in mergeInstrProfile() 427 unsigned Mid = Contexts.size() / 2; in mergeInstrProfile() 428 unsigned End = Contexts.size(); in mergeInstrProfile() 432 Pool.async(mergeWriterContexts, Contexts[I].get(), in mergeInstrProfile() 433 Contexts[I + Mid].get()); in mergeInstrProfile() 436 Pool.async(mergeWriterContexts, Contexts[0].get(), in mergeInstrProfile() 437 Contexts[End - 1].get()); in mergeInstrProfile() [all …]
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CIndexCodeCompletion.cpp | 289 unsigned long long Contexts; member 366 Contexts(CXCompletionContext_Unknown), in AllocatedCXCodeCompleteResults() 599 AllocatedResults.Contexts = getContextsForContextKind(contextKind, S); in ProcessCodeCompleteResults() 934 return Results->Contexts; in clang_codeCompleteGetContexts()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | CodeCompleteConsumer.cpp | 385 SmallVector<const DeclContext *, 2> Contexts; in getParentName() local 389 Contexts.push_back(DC); in getParentName() 399 for (const DeclContext *CurDC : llvm::reverse(Contexts)) { in getParentName()
|
| /llvm-project-15.0.7/llvm/include/llvm/DWARFLinker/ |
| H A D | DWARFLinkerDeclContext.h | 150 DeclContext::Map Contexts; variable
|
| /llvm-project-15.0.7/llvm/tools/llvm-profgen/ |
| H A D | ProfileGenerator.h | 367 std::unordered_set<SampleContextFrameVector, SampleContextFrameHash> Contexts; variable
|
| H A D | ProfileGenerator.cpp | 952 SampleContextFrames NewContext = *Contexts.insert(Context).first; in convertToProfileMap()
|