Searched refs:isWrittenInMainFile (Results 1 – 21 of 21) sorted by relevance
117 if (!SM.isWrittenInMainFile(PPLoc)) { in RewriteMacrosInInput()
723 if (SM->isWrittenInMainFile(Loc)) in HandleTopLevelSingleDecl()
797 if (SM->isWrittenInMainFile(Loc)) in HandleTopLevelSingleDecl()
118 if (!SM.isWrittenInMainFile(PPLoc)) { in RewriteMacrosInInput()
722 if (SM->isWrittenInMainFile(Loc)) in HandleTopLevelSingleDecl()
793 if (SM->isWrittenInMainFile(Loc)) in HandleTopLevelSingleDecl()
219 return SM.isWrittenInMainFile(Loc); in clang_Location_isFromMainFile()
228 return SM.isWrittenInMainFile(Loc); in clang_Location_isFromMainFile()
211 if (!CI->getSourceManager().isWrittenInMainFile(Typo.getLoc())) in CorrectTypo()
194 InMainFile = SM.isWrittenInMainFile(Loc); in FileChanged()
140 return SM.isWrittenInMainFile(L) ? L : SourceLocation{}; in getHighlightableSpellingToken()
599 if (!Opts->AnalyzeAll && !SM.isWrittenInMainFile(SL)) { in getModeForDecl()
417 getSourceManager().isWrittenInMainFile(DirectiveLoc); in BuildModuleInclude()
319 SM.isWrittenInMainFile(SM.getExpansionLoc(ND->getBeginLoc())) && in handleDeclOccurrence()
679 if (!DiagFile && SM.isWrittenInMainFile(DirectiveLoc)) in IsFromSameFile()
1346 bool isWrittenInMainFile(SourceLocation Loc) const { in isWrittenInMainFile() function
929 if (!DiagFile && SM.isWrittenInMainFile(DirectiveLoc)) in IsFromSameFile()
684 return M.isWrittenInMainFile(M.getExpansionLoc(D.getLocation())); in isInMainFile()
1454 bool isWrittenInMainFile(SourceLocation Loc) const { in isWrittenInMainFile() function
493 if (!FS || !Context->getSourceManager().isWrittenInMainFile(FS->getForLoc()))
15113 getSourceManager().isWrittenInMainFile(DirectiveLoc); in ActOnModuleInclude()