Home
last modified time | relevance | path

Searched refs:IndexOpts (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/clang/lib/Index/
H A DIndexingContext.h39 IndexingOptions IndexOpts; variable
44 IndexingContext(IndexingOptions IndexOpts, IndexDataConsumer &DataConsumer) in IndexingContext() argument
45 : IndexOpts(IndexOpts), DataConsumer(DataConsumer) {} in IndexingContext()
47 const IndexingOptions &getIndexOpts() const { return IndexOpts; } in getIndexOpts()
H A DIndexingContext.cpp37 return IndexOpts.IndexFunctionLocals; in shouldIndexFunctionLocalSymbols()
41 return IndexOpts.IndexImplicitInstantiation; in shouldIndexImplicitInstantiation()
45 return IndexOpts.IndexParametersInDeclarations; in shouldIndexParametersInDeclarations()
49 return IndexOpts.IndexTemplateParameters; in shouldIndexTemplateParameters()
127 switch (IndexOpts.SystemSymbolFilter) { in importedModule()
379 switch (IndexOpts.SystemSymbolFilter) { in handleDeclOccurrence()
482 if (!IndexOpts.IndexMacros) in shouldIndexMacroOccurrence()
485 switch (IndexOpts.SystemSymbolFilter) { in shouldIndexMacroOccurrence()
H A DIndexDecl.cpp806 if (IndexOpts.ShouldTraverseDecl && !IndexOpts.ShouldTraverseDecl(D)) in indexTopLevelDecl()
/llvm-project-15.0.7/clang/tools/c-index-test/
H A Dcore_main.cpp233 IndexingOptions IndexOpts; in printSourceSymbols() local
234 IndexOpts.IndexFunctionLocals = indexLocals; in printSourceSymbols()
235 IndexOpts.IndexMacros = !ignoreMacros; in printSourceSymbols()
236 IndexOpts.IndexMacrosInPreprocessor = !ignoreMacros; in printSourceSymbols()
238 createIndexingAction(DataConsumer, IndexOpts); in printSourceSymbols()
251 indexModuleFile(Mod, *Reader, *DataConsumer, IndexOpts); in printSourceSymbols()
287 IndexingOptions IndexOpts; in printSourceSymbolsFromModule() local
288 indexASTUnit(*AU, DataConsumer, IndexOpts); in printSourceSymbolsFromModule()
/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A DStdLib.cpp237 SymbolCollector::Options IndexOpts; in indexStandardLibrary() local
238 IndexOpts.Origin = SymbolOrigin::StdLib; in indexStandardLibrary()
239 IndexOpts.CollectMainFileSymbols = false; in indexStandardLibrary()
240 IndexOpts.CollectMainFileRefs = false; in indexStandardLibrary()
241 IndexOpts.CollectMacro = true; in indexStandardLibrary()
242 IndexOpts.StoreAllDocumentation = true; in indexStandardLibrary()
250 IndexOpts, [&](SymbolSlab S) { Symbols = std::move(S); }, nullptr, in indexStandardLibrary()
H A DIndexAction.cpp218 index::IndexingOptions IndexOpts; in createStaticIndexingAction() local
219 IndexOpts.SystemSymbolFilter = in createStaticIndexingAction()
222 IndexOpts.IndexFunctionLocals = true; in createStaticIndexingAction()
235 IndexOpts, SymbolsCallback, RefsCallback, RelationsCallback, in createStaticIndexingAction()
H A DFileIndex.cpp62 index::IndexingOptions IndexOpts; in indexSymbols() local
64 IndexOpts.SystemSymbolFilter = in indexSymbols()
67 IndexOpts.IndexFunctionLocals = true; in indexSymbols()
75 IndexOpts.IndexMacrosInPreprocessor = true; in indexSymbols()
82 index::indexTopLevelDecls(AST, PP, DeclsToIndex, Collector, IndexOpts); in indexSymbols()
H A DBackground.cpp285 SymbolCollector::Options IndexOpts; in index() local
288 IndexOpts.FileFilter = [&ShardVersionsSnapshot](const SourceManager &SM, in index()
305 IndexOpts.CollectMainFileRefs = true; in index()
309 IndexOpts, [&](SymbolSlab S) { Index.Symbols = std::move(S); }, in index()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DXRefs.cpp961 index::IndexingOptions IndexOpts; in findRefs() local
962 IndexOpts.SystemSymbolFilter = in findRefs()
964 IndexOpts.IndexFunctionLocals = true; in findRefs()
965 IndexOpts.IndexParametersInDeclarations = true; in findRefs()
966 IndexOpts.IndexTemplateParameters = true; in findRefs()
968 AST.getLocalTopLevelDecls(), RefFinder, IndexOpts); in findRefs()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DSymbolCollectorTests.cpp261 index::IndexingOptions IndexOpts; in create() local
262 IndexOpts.SystemSymbolFilter = in create()
264 IndexOpts.IndexFunctionLocals = true; in create()
266 return std::make_unique<IndexAction>(Collector, std::move(IndexOpts), in create()