Home
last modified time | relevance | path

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

12

/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DAnalysisManager.h126 if (SM.isInMainFile(SL)) in isInCodeFile()
134 if (!IL.isValid() || !SM.isInMainFile(IL)) in isInCodeFile()
/external/llvm-project/clang/lib/ARCMigrate/
DTransGCAttrs.cpp124 if (isInMainFile(D)) in isMigratable()
157 bool isInMainFile(Decl *D) { in isInMainFile() function in __anonbd26feff0111::GCAttrsCollector
162 if (!isInMainFile(I->getLocation())) in isInMainFile()
168 bool isInMainFile(SourceLocation Loc) { in isInMainFile() function in __anonbd26feff0111::GCAttrsCollector
/external/clang/lib/ARCMigrate/
DTransGCAttrs.cpp127 if (isInMainFile(D)) in isMigratable()
160 bool isInMainFile(Decl *D) { in isInMainFile() function in __anon19cd2d910111::GCAttrsCollector
165 if (!isInMainFile(I->getLocation())) in isInMainFile()
171 bool isInMainFile(SourceLocation Loc) { in isInMainFile() function in __anon19cd2d910111::GCAttrsCollector
/external/llvm-project/clang-tools-extra/clang-tidy/llvmlibc/
DImplementationInNamespaceCheck.cpp31 if (!Result.SourceManager->isInMainFile(MatchedDecl->getLocation())) in check()
/external/llvm-project/clang-tools-extra/clang-include-fixer/find-all-symbols/
DPathConfig.cpp22 if (!Loc.isValid() || SM.isInMainFile(Loc)) in getIncludePath()
DFindAllMacros.cpp41 if (!MD || !SM->isInMainFile(SM->getExpansionLoc(Name.getLocation()))) in MacroUsed()
/external/llvm-project/clang-tools-extra/clang-tidy/google/
DGlobalNamesInHeadersCheck.cpp55 if (Result.SourceManager->isInMainFile( in check()
/external/llvm-project/clang-tools-extra/clang-tidy/portability/
DRestrictSystemIncludesCheck.cpp36 SM.isInMainFile(HashLoc)); in InclusionDirective()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DRedundantDeclarationCheck.cpp65 !SM.isInMainFile(D->getLocation()) && in check()
DRedundantPreprocessorCheck.cpp77 if (PP.getSourceManager().isInMainFile(Loc)) { in CheckMacroRedundancy()
/external/llvm-project/clang/tools/clang-extdef-mapping/
DClangExtDefMapGen.cpp96 if (SM.isInMainFile(defStart)) in addIfInMain()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DConcatNestedNamespacesCheck.cpp85 if (!Sources.isInMainFile(ND.getBeginLoc())) in check()
/external/llvm-project/clang/lib/Lex/
DPPDirectives.cpp635 if (!SourceMgr.isInMainFile(Loc)) { in getModuleForLocation()
664 while (!Loc.isInvalid() && !SM.isInMainFile(Loc)) { in getHeaderToIncludeForDiagnostics()
729 bool RequestingModuleIsModuleInterface = !SourceMgr.isInMainFile(FilenameLoc); in LookupFile()
2860 if (getSourceManager().isInMainFile(MI->getDefinitionLoc()) && in HandleDefineDirective()
2974 getSourceManager().isInMainFile(DirectiveTok.getLocation()); in HandleIfdefDirective()
3025 getSourceManager().isInMainFile(IfToken.getLocation()); in HandleIfDirective()
3096 getSourceManager().isInMainFile(Result.getLocation()); in HandleElseDirective()
3141 getSourceManager().isInMainFile(ElifToken.getLocation()); in HandleElifDirective()
/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DUnusedParametersCheck.cpp145 !Result.SourceManager->isInMainFile(Function->getLocation()) || in warnOnUnusedParameter()
/external/llvm-project/lldb/tools/lldb-instr/
DInstrument.cpp269 if (!MyRewriter.getSourceMgr().isInMainFile(Decl->getBeginLoc())) in ShouldSkip()
/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/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/llvm-project/clang/lib/Analysis/
DAnalysisDeclContext.cpp438 if (Loc.isFileID() && SM.isInMainFile(Loc)) in printLocation()
/external/llvm-project/clang-tools-extra/clang-tidy/
DClangTidyDiagnosticConsumer.cpp569 Sources.isInMainFile(Location) || in checkFilters()
/external/llvm-project/clang-tools-extra/clangd/index/
DSymbolCollector.cpp424 SM.isInMainFile(SM.getExpansionLoc(DefLoc)) && in handleMacroOccurrence()
/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/llvm-project/clang-tools-extra/clangd/
DCodeComplete.cpp239 if (SM.isInMainFile(SM.getExpansionLoc(RD->getBeginLoc()))) in headerToInsertIfAllowed()
847 if (SrcMgr.isInMainFile(OpenParLoc)) in ProcessOverloadCandidates()

12