Searched refs:IndexOpts (Results 1 – 10 of 10) sorted by relevance
| /llvm-project-15.0.7/clang/lib/Index/ |
| H A D | IndexingContext.h | 39 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 D | IndexingContext.cpp | 37 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 D | IndexDecl.cpp | 806 if (IndexOpts.ShouldTraverseDecl && !IndexOpts.ShouldTraverseDecl(D)) in indexTopLevelDecl()
|
| /llvm-project-15.0.7/clang/tools/c-index-test/ |
| H A D | core_main.cpp | 233 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 D | StdLib.cpp | 237 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 D | IndexAction.cpp | 218 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 D | FileIndex.cpp | 62 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 D | Background.cpp | 285 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 D | XRefs.cpp | 961 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 D | SymbolCollectorTests.cpp | 261 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()
|