Lines Matching refs:IsMainFileOnly
469 bool IsMainFileOnly) { in shouldCollectSymbol() argument
475 if (IsMainFileOnly && !Opts.CollectMainFileSymbols) in shouldCollectSymbol()
479 if (!IsMainFileOnly && ND.isInAnonymousNamespace()) in shouldCollectSymbol()
583 bool IsMainFileOnly = in handleDeclOccurrence() local
589 !shouldCollectSymbol(*ND, *ASTCtx, Opts, IsMainFileOnly)) in handleDeclOccurrence()
604 (!IsMainFileOnly || Opts.CollectMainFileRefs || in handleDeclOccurrence()
633 BasicSymbol = addDeclaration(*OriginalDecl, std::move(ID), IsMainFileOnly); in handleDeclOccurrence()
635 BasicSymbol = addDeclaration(*ND, std::move(ID), IsMainFileOnly); in handleDeclOccurrence()
708 bool IsMainFileOnly = in handleMacroOccurrence() local
713 if ((static_cast<unsigned>(Opts.RefFilter) & Roles) && !IsMainFileOnly && in handleMacroOccurrence()
727 if (IsMainFileOnly && !Opts.CollectMainFileSymbols) in handleMacroOccurrence()
751 if (!IsMainFileOnly) { in handleMacroOccurrence()
874 bool IsMainFileOnly) { in addDeclaration() argument
888 if (!IsMainFileOnly && isIndexedForCodeCompletion(ND, Ctx)) in addDeclaration()
892 if (!IsMainFileOnly) in addDeclaration()