Lines Matching refs:IsMainFileOnly
209 bool IsMainFileOnly) { in shouldCollectSymbol() argument
215 if (IsMainFileOnly && !Opts.CollectMainFileSymbols) in shouldCollectSymbol()
219 if (!IsMainFileOnly && ND.isInAnonymousNamespace()) in shouldCollectSymbol()
314 bool IsMainFileOnly = in handleDeclOccurrence() local
320 !shouldCollectSymbol(*ND, *ASTCtx, Opts, IsMainFileOnly)) in handleDeclOccurrence()
342 (!IsMainFileOnly || Opts.CollectMainFileRefs || in handleDeclOccurrence()
366 BasicSymbol = addDeclaration(*OriginalDecl, std::move(ID), IsMainFileOnly); in handleDeclOccurrence()
368 BasicSymbol = addDeclaration(*ND, std::move(ID), IsMainFileOnly); in handleDeclOccurrence()
419 bool IsMainFileOnly = in handleMacroOccurrence() local
424 if ((static_cast<unsigned>(Opts.RefFilter) & Roles) && !IsMainFileOnly && in handleMacroOccurrence()
434 if (IsMainFileOnly && !Opts.CollectMainFileSymbols) in handleMacroOccurrence()
458 if (!IsMainFileOnly) { in handleMacroOccurrence()
641 bool IsMainFileOnly) { in addDeclaration() argument
655 if (!IsMainFileOnly && isIndexedForCodeCompletion(ND, Ctx)) in addDeclaration()
659 if (!IsMainFileOnly) in addDeclaration()