Home
last modified time | relevance | path

Searched refs:isWrittenInSameFile (Results 1 – 22 of 22) sorted by relevance

/external/llvm-project/clang/lib/CodeGen/
DCoverageMappingGen.cpp66 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/
DCoverageMappingGen.cpp229 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/
DRedundantDeclarationCheck.cpp66 !SM.isWrittenInSameFile(Prev->getLocation(), D->getLocation()); in check()
DNamedParameterCheck.cpp61 !SM.isWrittenInSameFile(Parm->getBeginLoc(), Parm->getLocation())) in check()
DElseAfterReturnCheck.cpp32 if (!SM.isWrittenInSameFile(Loc, IfLoc)) in Endif()
194 if (!SM.isWrittenInSameFile(ExpandedStartLoc, ExpandedEndLoc)) in hasPreprocessorBranchEndBetweenLocations()
DFunctionSizeCheck.cpp169 if (SM->isWrittenInSameFile(Body->getBeginLoc(), Body->getEndLoc())) { in check()
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
DDefineInline.cpp118 if (!SM.isWrittenInSameFile(DeclLoc, TargetLoc)) in checkDeclsAreVisible()
492 if (!SM.isWrittenInSameFile(DefRange->getBegin(), in apply()
DAddUsing.cpp322 !SM.isWrittenInSameFile(QualifierToRemove.getBeginLoc(), in prepare()
/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DHeaderGuard.cpp230 SM.isWrittenInSameFile(StartLoc, DefineLoc)) { in checkGuardlessHeaders()
/external/llvm-project/clang-tools-extra/clangd/
DSourceCode.cpp342 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()
DAST.cpp87 if (!SM.isWrittenInSameFile(D->getLocation(), Until) || in getUsingNamespaceDirectives()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseNullptrCheck.cpp54 return SM.isWrittenInSameFile(StartLoc, EndLoc); in isReplaceableRange()
/external/clang/lib/Lex/
DTokenLexer.cpp798 if (CurLoc.isMacroID() && !SM.isWrittenInSameFile(CurLoc, NextLoc)) in updateConsecutiveMacroArgTokens()
/external/llvm-project/clang/lib/Lex/
DTokenLexer.cpp1021 if (CurLoc.isMacroID() && !SM.isWrittenInSameFile(CurLoc, NextLoc)) in updateConsecutiveMacroArgTokens()
/external/clang/lib/Frontend/
DVerifyDiagnosticConsumer.cpp675 if (SM.isWrittenInSameFile(DirectiveLoc, DiagnosticLoc)) in IsFromSameFile()
/external/clang/include/clang/Basic/
DSourceManager.h1338 bool isWrittenInSameFile(SourceLocation Loc1, SourceLocation Loc2) const { in isWrittenInSameFile() function
/external/llvm-project/clang/lib/Frontend/
DVerifyDiagnosticConsumer.cpp925 if (SM.isWrittenInSameFile(DirectiveLoc, DiagnosticLoc)) in IsFromSameFile()
/external/llvm-project/clang/include/clang/Basic/
DSourceManager.h1446 bool isWrittenInSameFile(SourceLocation Loc1, SourceLocation Loc2) const { in isWrittenInSameFile() function
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DBugReporter.cpp1708 if (!SM.isWrittenInSameFile(FirstLoc, SecondLoc)) in removePunyEdges()
/external/clang/lib/StaticAnalyzer/Core/
DBugReporter.cpp2268 if (!SM.isWrittenInSameFile(FirstLoc, SecondLoc)) in removePunyEdges()
/external/clang/lib/Sema/
DSemaChecking.cpp9650 if (SourceMgr.isWrittenInSameFile(RBracketLoc, IndexLoc)) in CheckArrayAccess()
/external/llvm-project/clang/lib/Sema/
DSemaChecking.cpp14343 if (SourceMgr.isWrittenInSameFile(RBracketLoc, IndexLoc)) in CheckArrayAccess()