/llvm-project/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/clang/tools/libclang/ |
H A D | CIndexCodeCompletion.cpp | 289 unsigned long long Contexts; member 366 Contexts(CXCompletionContext_Unknown), in AllocatedCXCodeCompleteResults() 387 unsigned long long contexts = 0; in getContextsForContextKind() local 392 contexts = CXCompletionContext_MacroName; in getContextsForContextKind() 399 contexts = CXCompletionContext_AnyType | in getContextsForContextKind() 402 contexts |= CXCompletionContext_EnumTag | in getContextsForContextKind() 411 contexts = CXCompletionContext_AnyType | in getContextsForContextKind() 415 contexts |= CXCompletionContext_EnumTag | in getContextsForContextKind() 424 contexts = CXCompletionContext_AnyValue; in getContextsForContextKind() 426 contexts |= CXCompletionContext_AnyType | in getContextsForContextKind() [all …]
|
/llvm-project/clang/test/Index/ |
H A D | complete-call.cpp | 144 // CHECK-CC1: Completion contexts: 157 // CHECK-CC2: Completion contexts: 170 // CHECK-CC3: Completion contexts: 182 // CHECK-CC4: Completion contexts: 194 // CHECK-CC5: Completion contexts: 206 // CHECK-CC6: Completion contexts: 218 // CHECK-CC7: Completion contexts: 231 // CHECK-CC8: Completion contexts: 243 // CHECK-CC9: Completion contexts: 255 // CHECK-CC10: Completion contexts [all...] |
H A D | complete-functor-call.cpp | 30 // CHECK-CC1: Completion contexts: 44 // CHECK-CC2: Completion contexts: 58 // CHECK-CC3: Completion contexts: 70 // CHECK-CC4: Completion contexts: 82 // CHECK-CC5: Completion contexts: 97 // CHECK-CC6: Completion contexts: 112 // CHECK-CC7: Completion contexts: 124 // CHECK-CC8: Completion contexts: 136 // CHECK-CC9: Completion contexts: 147 // CHECK-CC10: Completion contexts: [all …]
|
H A D | complete-constructor-params.cpp | 38 // CHECK-CC1: Completion contexts: 51 // CHECK-CC2: Completion contexts: 63 // CHECK-CC3: Completion contexts: 75 // CHECK-CC4: Completion contexts: 88 // CHECK-CC5: Completion contexts: 100 // CHECK-CC6: Completion contexts: 112 // CHECK-CC7: Completion contexts: 123 // CHECK-CC8: Completion contexts: 134 // CHECK-CC9: Completion contexts: 146 // CHECK-CC10: Completion contexts:
|
H A D | complete-optional-params.cpp | 22 // CHECK-CC1: Completion contexts: 34 // CHECK-CC2: Completion contexts: 46 // CHECK-CC3: Completion contexts: 58 // CHECK-CC4: Completion contexts: 71 // CHECK-CC5: Completion contexts: 83 // CHECK-CC6: Completion contexts:
|
H A D | complete-pointer-and-reference-to-functions.cpp | 18 // CHECK-CC1: Completion contexts: 30 // CHECK-CC2: Completion contexts: 42 // CHECK-CC3: Completion contexts: 54 // CHECK-CC4: Completion contexts:
|
H A D | complete-member-access.m | 48 // CHECK-CC1: Completion contexts: 56 // CHECK-CC2: Completion contexts: 66 // CHECK-CC3: Completion contexts:
|
H A D | complete-arrow-dot.cpp | 26 // CHECK: Completion contexts: 35 // CHECK-WITH-CORRECTION-NEXT: Completion contexts: 44 // CHECK-ARROW-TO-DOT: Completion contexts: 53 // CHECK-ARROW-TO-DOT-WITH-CORRECTION-NEXT: Completion contexts:
|
/llvm-project/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 | 74 const std::vector<Context> &Contexts); 90 /// Get symbol contexts. 92 return Contexts; in getContexts() 112 /// Contains information about symbol contexts. Context information is 117 /// The contexts would be { {RECORD, "A"}, {NAMESPACE, "nb"}, {NAMESPACE, 122 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/llvm/tools/llvm-diff/lib/ |
H A D | DiffConsumer.cpp | 71 unsigned N = contexts.size(); in printValue() 74 DiffContext &ctxt = contexts[N]; in printValue() 93 if (contexts.empty()) return; in header() 95 I = contexts.begin(), E = contexts.end(); I != E; ++I) { in header() 138 contexts.clear(); in reset() 148 contexts.push_back(DiffContext(L, R)); in enterContext() 153 Differences |= contexts.back().Differences; in exitContext() 154 contexts.pop_back(); in exitContext()
|
/llvm-project/clang/lib/Format/ |
H A D | TokenAnnotator.cpp | 133 Contexts.push_back(Context(tok::unknown, 1, /*IsExpression=*/false)); in AnnotatingParser() 169 if (BeforeLess->is(tok::r_paren) && Contexts.size() > 1 && in parseAngle() 178 Left->ParentBracket = Contexts.back().ContextKind; in parseAngle() 180 Contexts.back().IsExpression = false; in parseAngle() 185 Contexts.back().ContextType = Context::TemplateArgument; in parseAngle() 193 const bool InExpr = Contexts[Contexts.size() - 2].IsExpression; in parseAngle() 318 OpeningParen.ParentBracket = Contexts.back().ContextKind; in parseParens() 322 Contexts.back().ColonIsForRangeExpr = in parseParens() 323 Contexts in parseParens() 3076 SmallVector<Context, 8> Contexts; global() member in clang::format::__anon97a2a5fc0111::AnnotatingParser [all...] |
/llvm-project/clang-tools-extra/test/clang-include-fixer/ |
H A D | merge.test | 6 Contexts: 16 Contexts: 26 Contexts:
|
/llvm-project/llvm/lib/DWARFLinker/Classic/ |
H A D | DWARFLinkerDeclContext.cpp | 29 /// that. In that case, just do not unique anything that refers to the contexts 58 // By default stop gathering child contexts. in getChildDeclContext() 80 // because of the way we identify contexts, and they won't be generated in getChildDeclContext() 165 auto ContextIter = Contexts.find(&Key); in getChildDeclContext() 167 if (ContextIter == Contexts.end()) { in getChildDeclContext() 173 std::tie(ContextIter, Inserted) = Contexts.insert(NewContext); in getChildDeclContext() 183 assert(ContextIter != Contexts.end()); in getChildDeclContext()
|
/llvm-project/clang-tools-extra/clang-include-fixer/ |
H A D | IncludeFixer.h | 33 /// \param Contexts The contexts for the symbols being queried. 37 std::vector<IncludeFixerContext> &Contexts, 53 /// Multiple contexts for files being processed. 54 std::vector<IncludeFixerContext> &Contexts; variable
|
H A D | IncludeFixer.cpp | 77 std::vector<IncludeFixerContext> &Contexts, StringRef StyleName, in IncludeFixerActionFactory() argument 79 : SymbolIndexMgr(SymbolIndexMgr), Contexts(Contexts), in IncludeFixerActionFactory() 112 Contexts.push_back(ScopedToolAction->getIncludeFixerContext( in runInvocation() 153 // Ignore spurious callbacks from SFINAE contexts. in MaybeDiagnoseMissingCompleteType() 190 // Ignore spurious callbacks from SFINAE contexts. in CorrectTypo() 218 // FIXME: Currently we only use namespace contexts. Use other context in CorrectTypo() 378 // Firstly, lookup the identifier with scoped namespace contexts; in query()
|
/llvm-project/clang/test/Parser/ |
H A D | compound-token-split.cpp | 16 …{'(' and '{' tokens introducing statement expression appear in different macro expansion contexts}} 20 …{'}' and ')' tokens terminating statement expression appear in different macro expansion contexts}} 29 …ns terminating statement expression appear in different macro expansion contexts}} expected-note {…
|
/llvm-project/compiler-rt/test/asan/TestCases/Linux/ |
H A D | print_memory_profile_test.cpp | 29 // CHECK-100-10: Live Heap Allocations: {{.*}}; showing top 100% (at most 10 unique contexts) 33 // CHECK-100-1: Live Heap Allocations: {{.*}}; showing top 100% (at most 1 unique contexts) 37 // CHECK-50-10: Live Heap Allocations: {{.*}}; showing top 50% (at most 10 unique contexts)
|
/llvm-project/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/lldb/include/lldb/Symbol/ |
H A D | Type.h | 121 /// ones that are contained in other declaration contexts, including top in LLDB_MARK_AS_BITMASK_ENUM() 129 /// be contained in any other declaration contexts. in LLDB_MARK_AS_BITMASK_ENUM() 162 /// adding any containing declaration contexts. in LLDB_MARK_AS_BITMASK_ENUM() 185 /// adding any containing declaration contexts, and ending with the exact in LLDB_MARK_AS_BITMASK_ENUM() 194 /// Clients can manually create compiler contexts and use these to find in LLDB_MARK_AS_BITMASK_ENUM() 195 /// matches when searching for types. There are two types of contexts that in LLDB_MARK_AS_BITMASK_ENUM() 196 /// are supported when doing type searchs: type contexts and clang module in LLDB_MARK_AS_BITMASK_ENUM() 197 /// contexts. Type contexts have contexts tha in LLDB_MARK_AS_BITMASK_ENUM() [all...] |
/llvm-project/llvm/unittests/Analysis/ |
H A D | MemoryProfileInfoTest.cpp | 178 // First call has all cold contexts. in TEST_F() 189 // Second call has all non-cold contexts. in TEST_F() 200 // Third call has all hot contexts. 211 // Fourth call has hot and non-cold contexts. These should be treated as in TEST_F() 269 // gets memprof metadata representing the different allocation type contexts. in TEST_F() 318 // gets memprof metadata representing the different allocation type contexts. in TEST_F() 359 // Hot contexts are converted to NotCold when building the metadata. in TEST_F() 369 // contexts. in TEST_F() 420 // metadata with the contexts trimmed to the minimum context required to in TEST_F() 475 // Test to ensure that we prune NotCold contexts tha in TEST_F() [all...] |
/llvm-project/lldb/include/lldb/Target/ |
H A D | ExecutionContext.h | 23 /// need to track different executions contexts. For example, a local function 30 /// contexts: ExecutionContextRef and ExecutionContext. Both of these objects 40 /// a wide variety of functions that require execution contexts. 66 /// execution contexts should use ExecutionContextRef objects. The 289 /// for passing down to other functions that also require specific contexts. 303 // Create execution contexts from shared pointers 309 // Create execution contexts from weak pointers 324 // Create execution contexts from execution context scopes 508 // Thread and frame contexts will be cleared. If "process_sp" is not valid,
|