/external/llvm-project/clang/lib/CodeGen/ |
D | CoverageMappingGen.cpp | 66 SourceMgr.isWrittenInSameFile(SkippedRanges.back().Range.getEnd(), in AddSkippedRange() 336 if (PrevTokLoc.isValid() && SM.isWrittenInSameFile(LocStart, PrevTokLoc) && in adjustSkippedRange() 339 if (NextTokLoc.isValid() && SM.isWrittenInSameFile(LocEnd, NextTokLoc) && in adjustSkippedRange() 370 assert(SM.isWrittenInSameFile(LocStart, LocEnd) && in gatherSkippedRegions() 410 assert(SM.isWrittenInSameFile(LocStart, LocEnd) && in emitSourceRegions() 452 assert(SM.isWrittenInSameFile(ParentLoc, LocEnd) && in emitExpansionRegions() 479 if (!SM.isWrittenInSameFile(Start, End)) { in VisitDecl() 663 while (!SM.isWrittenInSameFile(StartLoc, EndLoc)) { in popRegions() 670 assert(SM.isWrittenInSameFile(NestedLoc, EndLoc)); in popRegions() 684 assert(SM.isWrittenInSameFile(StartLoc, NestedLoc)); in popRegions() [all …]
|
/external/clang/lib/CodeGen/ |
D | CoverageMappingGen.cpp | 229 assert(SM.isWrittenInSameFile(LocStart, LocEnd) && in gatherSkippedRegions() 268 assert(SM.isWrittenInSameFile(LocStart, LocEnd) && in emitSourceRegions() 299 assert(SM.isWrittenInSameFile(ParentLoc, LocEnd) && in emitExpansionRegions() 327 if (!SM.isWrittenInSameFile(Start, End)) { in VisitDecl() 425 while (!SM.isWrittenInSameFile(StartLoc, EndLoc)) { in popRegions() 429 assert(SM.isWrittenInSameFile(NestedLoc, EndLoc)); in popRegions() 446 assert(SM.isWrittenInSameFile(Region.getStartLoc(), EndLoc)); in popRegions() 509 SM.isWrittenInSameFile(MostRecentLocation, NewLoc)) in handleFileExit() 518 if (LCA.isInvalid() || SM.isWrittenInSameFile(LCA, MostRecentLocation)) { in handleFileExit()
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | RedundantDeclarationCheck.cpp | 66 !SM.isWrittenInSameFile(Prev->getLocation(), D->getLocation()); in check()
|
D | NamedParameterCheck.cpp | 61 !SM.isWrittenInSameFile(Parm->getBeginLoc(), Parm->getLocation())) in check()
|
D | ElseAfterReturnCheck.cpp | 32 if (!SM.isWrittenInSameFile(Loc, IfLoc)) in Endif() 194 if (!SM.isWrittenInSameFile(ExpandedStartLoc, ExpandedEndLoc)) in hasPreprocessorBranchEndBetweenLocations()
|
D | FunctionSizeCheck.cpp | 169 if (SM->isWrittenInSameFile(Body->getBeginLoc(), Body->getEndLoc())) { in check()
|
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/ |
D | DefineInline.cpp | 118 if (!SM.isWrittenInSameFile(DeclLoc, TargetLoc)) in checkDeclsAreVisible() 492 if (!SM.isWrittenInSameFile(DefRange->getBegin(), in apply()
|
D | AddUsing.cpp | 322 !SM.isWrittenInSameFile(QualifierToRemove.getBeginLoc(), in prepare()
|
/external/llvm-project/clang-tools-extra/clang-tidy/utils/ |
D | HeaderGuard.cpp | 230 SM.isWrittenInSameFile(StartLoc, DefineLoc)) { in checkGuardlessHeaders()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | SourceCode.cpp | 342 if (SM.isWrittenInSameFile(R.getBegin(), R.getEnd())) in rangeInCommonFile() 398 assert(SM.isWrittenInSameFile(FileRange.getBegin(), FileRange.getEnd())); in getTokenFileRange() 407 assert(SM.isWrittenInSameFile(ExpansionRangeForBegin.getBegin(), in getTokenFileRange()
|
D | AST.cpp | 87 if (!SM.isWrittenInSameFile(D->getLocation(), Until) || in getUsingNamespaceDirectives()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | UseNullptrCheck.cpp | 54 return SM.isWrittenInSameFile(StartLoc, EndLoc); in isReplaceableRange()
|
/external/clang/lib/Lex/ |
D | TokenLexer.cpp | 798 if (CurLoc.isMacroID() && !SM.isWrittenInSameFile(CurLoc, NextLoc)) in updateConsecutiveMacroArgTokens()
|
/external/llvm-project/clang/lib/Lex/ |
D | TokenLexer.cpp | 1021 if (CurLoc.isMacroID() && !SM.isWrittenInSameFile(CurLoc, NextLoc)) in updateConsecutiveMacroArgTokens()
|
/external/clang/lib/Frontend/ |
D | VerifyDiagnosticConsumer.cpp | 675 if (SM.isWrittenInSameFile(DirectiveLoc, DiagnosticLoc)) in IsFromSameFile()
|
/external/clang/include/clang/Basic/ |
D | SourceManager.h | 1338 bool isWrittenInSameFile(SourceLocation Loc1, SourceLocation Loc2) const { in isWrittenInSameFile() function
|
/external/llvm-project/clang/lib/Frontend/ |
D | VerifyDiagnosticConsumer.cpp | 925 if (SM.isWrittenInSameFile(DirectiveLoc, DiagnosticLoc)) in IsFromSameFile()
|
/external/llvm-project/clang/include/clang/Basic/ |
D | SourceManager.h | 1446 bool isWrittenInSameFile(SourceLocation Loc1, SourceLocation Loc2) const { in isWrittenInSameFile() function
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | BugReporter.cpp | 1708 if (!SM.isWrittenInSameFile(FirstLoc, SecondLoc)) in removePunyEdges()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | BugReporter.cpp | 2268 if (!SM.isWrittenInSameFile(FirstLoc, SecondLoc)) in removePunyEdges()
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 9650 if (SourceMgr.isWrittenInSameFile(RBracketLoc, IndexLoc)) in CheckArrayAccess()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaChecking.cpp | 14343 if (SourceMgr.isWrittenInSameFile(RBracketLoc, IndexLoc)) in CheckArrayAccess()
|