Searched refs:isInMainFile (Results 1 – 14 of 14) sorted by relevance
127 if (isInMainFile(D)) in isMigratable()160 bool isInMainFile(Decl *D) { in isInMainFile() function in __anon0d17146a0111::GCAttrsCollector165 if (!isInMainFile(I->getLocation())) in isInMainFile()171 bool isInMainFile(SourceLocation Loc) { in isInMainFile() function in __anon0d17146a0111::GCAttrsCollector
658 if (!SourceMgr.isInMainFile(Loc)) { in getModuleForLocation()703 while (!Loc.isInvalid() && !SM.isInMainFile(Loc)) { in getModuleHeaderToIncludeForDiagnostics()750 bool RequestingModuleIsModuleInterface = !SourceMgr.isInMainFile(FilenameLoc); in LookupFile()2526 if (getSourceManager().isInMainFile(MI->getDefinitionLoc()) && in HandleDefineDirective()
850 if (InterfLoc.isValid() && SM.isInMainFile(InterfLoc)) in canBeOverridenInSubclass()872 if (D->getLocation().isValid() && !SM.isInMainFile(D->getLocation())) in canBeOverridenInSubclass()
130 assert(SMgr.isInMainFile(CallLoc) && in getFirstStackedCallToHeaderFile()134 if (!SMgr.isInMainFile(CP->callEnterWithin.asLocation())) in getFirstStackedCallToHeaderFile()
757 if (!Ctx.getSourceManager().isInMainFile(FD->getLocation())) in mayInlineDecl()
640 loadRegionCounts(PGOReader, SM.isInMainFile(D->getLocation())); in assignRegionCounters()
1332 bool isInMainFile(SourceLocation Loc) const;
845 !SourceMgr.isInMainFile( in ActOnEndOfTranslationUnit()
112 if (!S.getSourceManager().isInMainFile(AC.getDecl()->getLocStart())) in CheckUnreachable()
7773 !SourceMgr.isInMainFile(SourceMgr.getExpansionLoc(IdentLoc))) { in ActOnUsingDirective()
1416 return S.SourceMgr.isInMainFile(Loc); in isMainFileLoc()
280 bool DowngradeWarning = S.getSourceManager().isInMainFile(Loc); in diagnoseUseOfInternalDeclInInlineFunction()
1527 bool SourceManager::isInMainFile(SourceLocation Loc) const { in isInMainFile() function in SourceManager
212 return SourceManager.isInMainFile( in AST_POLYMORPHIC_MATCHER()