Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp382 assert(SM.isWrittenInSameFile(LocStart, LocEnd) && in gatherSkippedRegions()
427 assert(SM.isWrittenInSameFile(LocStart, LocEnd) && in emitSourceRegions()
473 assert(SM.isWrittenInSameFile(ParentLoc, LocEnd) && in emitExpansionRegions()
500 if (!SM.isWrittenInSameFile(Start, End)) { in VisitDecl()
624 while (!SM.isWrittenInSameFile(StartLoc, EndLoc)) { in popRegions()
635 assert(SM.isWrittenInSameFile(NestedLoc, EndLoc)); in popRegions()
655 assert(SM.isWrittenInSameFile(StartLoc, NestedLoc)); in popRegions()
794 SM.isWrittenInSameFile(MostRecentLocation, NewLoc)) in handleFileExit()
894 while (!SM.isWrittenInSameFile(AfterLoc, BeforeLoc)) { in findGapAreaBetween()
906 assert(SM.isWrittenInSameFile(AfterLoc, in findGapAreaBetween()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/
H A DInsertionPoint.cpp118 if (!SM.isWrittenInSameFile(Loc, cast<Decl>(DC).getLocation())) in insertDecl()
151 if (!SM.isWrittenInSameFile(Loc, InClass.getLocation())) in insertDecl()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DRedundantDeclarationCheck.cpp66 !SM.isWrittenInSameFile(Prev->getLocation(), D->getLocation()); in check()
H A DNamedParameterCheck.cpp57 !SM.isWrittenInSameFile(Parm->getBeginLoc(), Parm->getLocation())) in check()
H A DElseAfterReturnCheck.cpp32 if (!SM.isWrittenInSameFile(Loc, IfLoc)) in Endif()
193 if (!SM.isWrittenInSameFile(ExpandedStartLoc, ExpandedEndLoc)) in hasPreprocessorBranchEndBetweenLocations()
H A DFunctionSizeCheck.cpp170 if (SM->isWrittenInSameFile(Body->getBeginLoc(), Body->getEndLoc())) { in check()
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DDefineInline.cpp102 if (!SM.isWrittenInSameFile(DeclLoc, TargetLoc)) in checkDeclsAreVisible()
487 if (!SM.isWrittenInSameFile(DefRange->getBegin(), in apply()
H A DObjCMemberwiseInitializer.cpp303 if (SM.isWrittenInSameFile(Interface->getLocation(), Impl->getLocation())) { in apply()
H A DAddUsing.cpp331 !SM.isWrittenInSameFile(QualifierToRemove.getBeginLoc(), in prepare()
H A DExtractFunction.cpp898 if (SM.isWrittenInSameFile(ExtractedFunc->DefinitionPoint, *FwdLoc)) { in apply()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DHeaderGuard.cpp232 SM.isWrittenInSameFile(StartLoc, DefineLoc)) { in checkGuardlessHeaders()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DSourceCode.cpp339 if (SM.isWrittenInSameFile(R.getBegin(), R.getEnd())) in rangeInCommonFile()
395 assert(SM.isWrittenInSameFile(FileRange.getBegin(), FileRange.getEnd())); in getTokenFileRange()
404 assert(SM.isWrittenInSameFile(ExpansionRangeForBegin.getBegin(), in getTokenFileRange()
H A DIncludeFixer.cpp379 if (!SM.isWrittenInSameFile(SS.getBeginLoc(), SS.getEndLoc())) in getSpelledSpecifier()
H A DAST.cpp94 if (!SM.isWrittenInSameFile(D->getLocation(), Until) || in getUsingNamespaceDirectives()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseNullptrCheck.cpp70 return SM.isWrittenInSameFile(StartLoc, EndLoc); in isReplaceableRange()
/llvm-project-15.0.7/clang/lib/Lex/
H A DTokenLexer.cpp1019 if (CurLoc.isMacroID() && !SM.isWrittenInSameFile(CurLoc, NextLoc)) in updateConsecutiveMacroArgTokens()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp921 if (SM.isWrittenInSameFile(DirectiveLoc, DiagnosticLoc)) in IsFromSameFile()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DSourceManager.h1462 bool isWrittenInSameFile(SourceLocation Loc1, SourceLocation Loc2) const { in isWrittenInSameFile() function
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp1716 if (!SM.isWrittenInSameFile(FirstLoc, SecondLoc)) in removePunyEdges()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaChecking.cpp16063 if (SourceMgr.isWrittenInSameFile(RBracketLoc, IndexLoc)) in CheckArrayAccess()