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 __anon8c0bb86f0111::GCAttrsCollector165 if (!isInMainFile(I->getLocation())) in isInMainFile()171 bool isInMainFile(SourceLocation Loc) { in isInMainFile() function in __anon8c0bb86f0111::GCAttrsCollector
795 if (InterfLoc.isValid() && SM.isInMainFile(InterfLoc)) in canBeOverridenInSubclass()817 if (D->getLocation().isValid() && !SM.isInMainFile(D->getLocation())) in canBeOverridenInSubclass()
132 assert(SMgr.isInMainFile(CallLoc) && in getFirstStackedCallToHeaderFile()136 if (!SMgr.isInMainFile(CP->callEnterWithin.asLocation())) in getFirstStackedCallToHeaderFile()
770 if (!Ctx.getSourceManager().isInMainFile(FD->getLocation())) in mayInlineDecl()
580 if (SourceMgr.isInMainFile(Loc)) { in getModuleForLocation()2322 if (getSourceManager().isInMainFile(MI->getDefinitionLoc()) && in HandleDefineDirective()
634 loadRegionCounts(PGOReader, SM.isInMainFile(D->getLocation())); in assignRegionCounters()
1324 bool isInMainFile(SourceLocation Loc) const;
848 !SourceMgr.isInMainFile( in ActOnEndOfTranslationUnit()
112 if (!S.getSourceManager().isInMainFile(AC.getDecl()->getLocStart())) in CheckUnreachable()
7609 !SourceMgr.isInMainFile(SourceMgr.getExpansionLoc(IdentLoc))) { in ActOnUsingDirective()
1376 return S.SourceMgr.isInMainFile(Loc); in isMainFileLoc()
287 bool DowngradeWarning = S.getSourceManager().isInMainFile(Loc); in diagnoseUseOfInternalDeclInInlineFunction()
188 return SourceManager.isInMainFile( in AST_POLYMORPHIC_MATCHER()
1520 bool SourceManager::isInMainFile(SourceLocation Loc) const { in isInMainFile() function in SourceManager