Lines Matching refs:IsMainFileOnly
213 bool IsMainFileOnly) { in shouldCollectSymbol() argument
219 if (IsMainFileOnly && !Opts.CollectMainFileSymbols) in shouldCollectSymbol()
223 if (!IsMainFileOnly && ND.isInAnonymousNamespace()) in shouldCollectSymbol()
323 bool IsMainFileOnly = in handleDeclOccurrence() local
329 !shouldCollectSymbol(*ND, *ASTCtx, Opts, IsMainFileOnly)) in handleDeclOccurrence()
351 (!IsMainFileOnly || Opts.CollectMainFileRefs || in handleDeclOccurrence()
375 BasicSymbol = addDeclaration(*OriginalDecl, std::move(ID), IsMainFileOnly); in handleDeclOccurrence()
377 BasicSymbol = addDeclaration(*ND, std::move(ID), IsMainFileOnly); in handleDeclOccurrence()
443 bool IsMainFileOnly = in handleMacroOccurrence() local
448 if ((static_cast<unsigned>(Opts.RefFilter) & Roles) && !IsMainFileOnly && in handleMacroOccurrence()
458 if (IsMainFileOnly && !Opts.CollectMainFileSymbols) in handleMacroOccurrence()
482 if (!IsMainFileOnly) { in handleMacroOccurrence()
664 bool IsMainFileOnly) { in addDeclaration() argument
678 if (!IsMainFileOnly && isIndexedForCodeCompletion(ND, Ctx)) in addDeclaration()
682 if (!IsMainFileOnly) in addDeclaration()