Lines Matching refs:IsMainFileOnly
363 bool IsMainFileOnly) { in shouldCollectSymbol() argument
369 if (IsMainFileOnly && !Opts.CollectMainFileSymbols) in shouldCollectSymbol()
373 if (!IsMainFileOnly && ND.isInAnonymousNamespace()) in shouldCollectSymbol()
473 bool IsMainFileOnly = in handleDeclOccurrence() local
479 !shouldCollectSymbol(*ND, *ASTCtx, Opts, IsMainFileOnly)) in handleDeclOccurrence()
501 (!IsMainFileOnly || Opts.CollectMainFileRefs || in handleDeclOccurrence()
525 BasicSymbol = addDeclaration(*OriginalDecl, std::move(ID), IsMainFileOnly); in handleDeclOccurrence()
527 BasicSymbol = addDeclaration(*ND, std::move(ID), IsMainFileOnly); in handleDeclOccurrence()
594 bool IsMainFileOnly = in handleMacroOccurrence() local
599 if ((static_cast<unsigned>(Opts.RefFilter) & Roles) && !IsMainFileOnly && in handleMacroOccurrence()
609 if (IsMainFileOnly && !Opts.CollectMainFileSymbols) in handleMacroOccurrence()
633 if (!IsMainFileOnly) { in handleMacroOccurrence()
815 bool IsMainFileOnly) { in addDeclaration() argument
829 if (!IsMainFileOnly && isIndexedForCodeCompletion(ND, Ctx)) in addDeclaration()
833 if (!IsMainFileOnly) in addDeclaration()