Home
last modified time | relevance | path

Searched refs:isInMainFile (Results 1 – 14 of 14) sorted by relevance

/external/clang/lib/ARCMigrate/
DTransGCAttrs.cpp127 if (isInMainFile(D)) in isMigratable()
160 bool isInMainFile(Decl *D) { in isInMainFile() function in __anon0d17146a0111::GCAttrsCollector
165 if (!isInMainFile(I->getLocation())) in isInMainFile()
171 bool isInMainFile(SourceLocation Loc) { in isInMainFile() function in __anon0d17146a0111::GCAttrsCollector
/external/clang/lib/Lex/
DPPDirectives.cpp658 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()
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp850 if (InterfLoc.isValid() && SM.isInMainFile(InterfLoc)) in canBeOverridenInSubclass()
872 if (D->getLocation().isValid() && !SM.isInMainFile(D->getLocation())) in canBeOverridenInSubclass()
DPathDiagnostic.cpp130 assert(SMgr.isInMainFile(CallLoc) && in getFirstStackedCallToHeaderFile()
134 if (!SMgr.isInMainFile(CP->callEnterWithin.asLocation())) in getFirstStackedCallToHeaderFile()
DExprEngineCallAndReturn.cpp757 if (!Ctx.getSourceManager().isInMainFile(FD->getLocation())) in mayInlineDecl()
/external/clang/lib/CodeGen/
DCodeGenPGO.cpp640 loadRegionCounts(PGOReader, SM.isInMainFile(D->getLocation())); in assignRegionCounters()
/external/clang/include/clang/Basic/
DSourceManager.h1332 bool isInMainFile(SourceLocation Loc) const;
/external/clang/lib/Sema/
DSema.cpp845 !SourceMgr.isInMainFile( in ActOnEndOfTranslationUnit()
DAnalysisBasedWarnings.cpp112 if (!S.getSourceManager().isInMainFile(AC.getDecl()->getLocStart())) in CheckUnreachable()
DSemaDeclCXX.cpp7773 !SourceMgr.isInMainFile(SourceMgr.getExpansionLoc(IdentLoc))) { in ActOnUsingDirective()
DSemaDecl.cpp1416 return S.SourceMgr.isInMainFile(Loc); in isMainFileLoc()
DSemaExpr.cpp280 bool DowngradeWarning = S.getSourceManager().isInMainFile(Loc); in diagnoseUseOfInternalDeclInInlineFunction()
/external/clang/lib/Basic/
DSourceManager.cpp1527 bool SourceManager::isInMainFile(SourceLocation Loc) const { in isInMainFile() function in SourceManager
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h212 return SourceManager.isInMainFile( in AST_POLYMORPHIC_MATCHER()