/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | AnalysisManager.h | 126 if (SM.isInMainFile(SL)) in isInCodeFile() 134 if (!IL.isValid() || !SM.isInMainFile(IL)) in isInCodeFile()
|
/external/llvm-project/clang/lib/ARCMigrate/ |
D | TransGCAttrs.cpp | 124 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/ |
D | TransGCAttrs.cpp | 127 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/ |
D | ImplementationInNamespaceCheck.cpp | 31 if (!Result.SourceManager->isInMainFile(MatchedDecl->getLocation())) in check()
|
/external/llvm-project/clang-tools-extra/clang-include-fixer/find-all-symbols/ |
D | PathConfig.cpp | 22 if (!Loc.isValid() || SM.isInMainFile(Loc)) in getIncludePath()
|
D | FindAllMacros.cpp | 41 if (!MD || !SM->isInMainFile(SM->getExpansionLoc(Name.getLocation()))) in MacroUsed()
|
/external/llvm-project/clang-tools-extra/clang-tidy/google/ |
D | GlobalNamesInHeadersCheck.cpp | 55 if (Result.SourceManager->isInMainFile( in check()
|
/external/llvm-project/clang-tools-extra/clang-tidy/portability/ |
D | RestrictSystemIncludesCheck.cpp | 36 SM.isInMainFile(HashLoc)); in InclusionDirective()
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | RedundantDeclarationCheck.cpp | 65 !SM.isInMainFile(D->getLocation()) && in check()
|
D | RedundantPreprocessorCheck.cpp | 77 if (PP.getSourceManager().isInMainFile(Loc)) { in CheckMacroRedundancy()
|
/external/llvm-project/clang/tools/clang-extdef-mapping/ |
D | ClangExtDefMapGen.cpp | 96 if (SM.isInMainFile(defStart)) in addIfInMain()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | ConcatNestedNamespacesCheck.cpp | 85 if (!Sources.isInMainFile(ND.getBeginLoc())) in check()
|
/external/llvm-project/clang/lib/Lex/ |
D | PPDirectives.cpp | 635 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/ |
D | UnusedParametersCheck.cpp | 145 !Result.SourceManager->isInMainFile(Function->getLocation()) || in warnOnUnusedParameter()
|
/external/llvm-project/lldb/tools/lldb-instr/ |
D | Instrument.cpp | 269 if (!MyRewriter.getSourceMgr().isInMainFile(Decl->getBeginLoc())) in ShouldSkip()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CallEvent.cpp | 850 if (InterfLoc.isValid() && SM.isInMainFile(InterfLoc)) in canBeOverridenInSubclass() 872 if (D->getLocation().isValid() && !SM.isInMainFile(D->getLocation())) in canBeOverridenInSubclass()
|
D | PathDiagnostic.cpp | 130 assert(SMgr.isInMainFile(CallLoc) && in getFirstStackedCallToHeaderFile() 134 if (!SMgr.isInMainFile(CP->callEnterWithin.asLocation())) in getFirstStackedCallToHeaderFile()
|
D | ExprEngineCallAndReturn.cpp | 757 if (!Ctx.getSourceManager().isInMainFile(FD->getLocation())) in mayInlineDecl()
|
/external/clang/lib/Lex/ |
D | PPDirectives.cpp | 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()
|
/external/llvm-project/clang/lib/Analysis/ |
D | AnalysisDeclContext.cpp | 438 if (Loc.isFileID() && SM.isInMainFile(Loc)) in printLocation()
|
/external/llvm-project/clang-tools-extra/clang-tidy/ |
D | ClangTidyDiagnosticConsumer.cpp | 569 Sources.isInMainFile(Location) || in checkFilters()
|
/external/llvm-project/clang-tools-extra/clangd/index/ |
D | SymbolCollector.cpp | 424 SM.isInMainFile(SM.getExpansionLoc(DefLoc)) && in handleMacroOccurrence()
|
/external/clang/lib/CodeGen/ |
D | CodeGenPGO.cpp | 640 loadRegionCounts(PGOReader, SM.isInMainFile(D->getLocation())); in assignRegionCounters()
|
/external/clang/include/clang/Basic/ |
D | SourceManager.h | 1332 bool isInMainFile(SourceLocation Loc) const;
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | CodeComplete.cpp | 239 if (SM.isInMainFile(SM.getExpansionLoc(RD->getBeginLoc()))) in headerToInsertIfAllowed() 847 if (SrcMgr.isInMainFile(OpenParLoc)) in ProcessOverloadCandidates()
|