Home
last modified time | relevance | path

Searched refs:SecondLoc (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp1714 SourceLocation SecondLoc = end->getBeginLoc(); in removePunyEdges() local
1716 if (!SM.isWrittenInSameFile(FirstLoc, SecondLoc)) in removePunyEdges()
1718 if (SM.isBeforeInTranslationUnit(SecondLoc, FirstLoc)) in removePunyEdges()
1719 std::swap(SecondLoc, FirstLoc); in removePunyEdges()
1721 SourceRange EdgeRange(FirstLoc, SecondLoc); in removePunyEdges()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReader.cpp10351 SourceLocation FirstLoc, SecondLoc; in diagnoseOdrViolations() local
10361 SecondLoc = SecondStr->getBeginLoc(); in diagnoseOdrViolations()
10364 SecondLoc = SecondSA->getBeginLoc(); in diagnoseOdrViolations()
10369 ODRDiagDeclNote(SecondLoc, SecondRange, StaticAssertOnlyMessage) in diagnoseOdrViolations()