Home
last modified time | relevance | path

Searched refs:IsMainFileOnly (Results 1 – 2 of 2) sorted by relevance

/llvm-project/clang-tools-extra/clangd/index/
H A DSymbolCollector.cpp509 bool IsMainFileOnly) { in shouldCollectSymbol()
515 if (IsMainFileOnly && !Opts.CollectMainFileSymbols) in shouldCollectSymbol()
519 if (!IsMainFileOnly && ND.isInAnonymousNamespace()) in getRefContainer()
642 bool IsMainFileOnly = in handleDeclOccurrence()
648 !shouldCollectSymbol(*ND, *ASTCtx, Opts, IsMainFileOnly)) in handleDeclOccurrence()
663 (!IsMainFileOnly || Opts.CollectMainFileRefs || in handleMacros()
693 BasicSymbol = addDeclaration(*OriginalDecl, std::move(ID), IsMainFileOnly); in handleMacros()
696 BasicSymbol = addDeclaration(*ND, std::move(ID), IsMainFileOnly);
773 bool IsMainFileOnly = in handleMacroOccurrence()
778 if ((static_cast<unsigned>(Opts.RefFilter) & Roles) && !IsMainFileOnly in handleMacroOccurrence()
465 shouldCollectSymbol(const NamedDecl & ND,const ASTContext & ASTCtx,const Options & Opts,bool IsMainFileOnly) shouldCollectSymbol() argument
593 bool IsMainFileOnly = handleDeclOccurrence() local
720 bool IsMainFileOnly = handleMacroOccurrence() local
986 addDeclaration(const NamedDecl & ND,SymbolID ID,bool IsMainFileOnly) addDeclaration() argument
[all...]
/llvm-project/clang-tools-extra/clangd/refactor/
H A DRename.cpp249 bool IsMainFileOnly = true; in renameable() local
252 IsMainFileOnly = false; in renameable()
254 IsMainFileOnly = false; in renameable()
258 IsMainFileOnly)) in renameable()