Home
last modified time | relevance | path

Searched refs:getSpellingLineNumber (Results 1 – 25 of 42) sorted by relevance

12

/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DSuspiciousSemicolonCheck.cpp46 unsigned SemicolonLine = SM.getSpellingLineNumber(LocStart); in check()
52 SM.getSpellingLineNumber(Token.getLocation()) != SemicolonLine) in check()
66 unsigned NewTokenLine = SM.getSpellingLineNumber(Token.getLocation()); in check()
DSuspiciousMissingCommaCheck.cpp45 unsigned int BaseLine = SM.getSpellingLineNumber(FirstToken); in isConcatenatedLiteralsOnPurpose()
50 unsigned int Line = SM.getSpellingLineNumber(Token); in isConcatenatedLiteralsOnPurpose()
/external/llvm-project/clang/lib/Tooling/Refactoring/Extract/
DSourceExtraction.cpp63 SM.getSpellingLineNumber(Loc1) == SM.getSpellingLineNumber(Loc2); in areOnSameLine()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DNamespaceCommentCheck.cpp94 unsigned StartLine = Sources.getSpellingLineNumber(ND->getBeginLoc()); in check()
95 unsigned EndLine = Sources.getSpellingLineNumber(ND->getRBraceLoc()); in check()
135 bool NextTokenIsOnSameLine = Sources.getSpellingLineNumber(Loc) == EndLine; in check()
DFunctionSizeCheck.cpp170 FI.Lines = SM->getSpellingLineNumber(Body->getEndLoc()) - in check()
171 SM->getSpellingLineNumber(Body->getBeginLoc()); in check()
DBracesAroundStatementsCheck.cpp262 unsigned StartLine = SM.getSpellingLineNumber(StartLoc); in checkStmt()
263 unsigned EndLine = SM.getSpellingLineNumber(EndLoc); in checkStmt()
/external/clang/lib/Basic/
DSourceLocation.cpp106 unsigned FullSourceLoc::getSpellingLineNumber(bool *Invalid) const { in getSpellingLineNumber() function in FullSourceLoc
108 return SrcMgr->getSpellingLineNumber(*this, Invalid); in getSpellingLineNumber()
/external/clang/unittests/AST/
DMatchVerifier.h191 unsigned Line = Result.SourceManager->getSpellingLineNumber(Loc); in verify()
233 unsigned BeginLine = Result.SourceManager->getSpellingLineNumber(Begin); in verify()
235 unsigned EndLine = Result.SourceManager->getSpellingLineNumber(End); in verify()
/external/llvm-project/clang/unittests/AST/
DMatchVerifier.h194 unsigned Line = Result.SourceManager->getSpellingLineNumber(Loc); in verify()
236 unsigned BeginLine = Result.SourceManager->getSpellingLineNumber(Begin); in verify()
238 unsigned EndLine = Result.SourceManager->getSpellingLineNumber(End); in verify()
DSourceLocationTest.cpp82 Result.SourceManager->getSpellingLineNumber(LParenLoc); in verify()
86 Result.SourceManager->getSpellingLineNumber(RParenLoc); in verify()
/external/llvm-project/clang/lib/Basic/
DSourceLocation.cpp228 unsigned FullSourceLoc::getSpellingLineNumber(bool *Invalid) const { in getSpellingLineNumber() function in FullSourceLoc
230 return SrcMgr->getSpellingLineNumber(*this, Invalid); in getSpellingLineNumber()
/external/clang/lib/StaticAnalyzer/Checkers/
DTraversalChecker.cpp51 llvm::outs() << C.getSourceManager().getSpellingLineNumber(Loc) << " " in checkBranchCondition()
/external/clang/lib/CodeGen/
DCoverageMappingGen.cpp235 unsigned LineStart = SM.getSpellingLineNumber(LocStart); in gatherSkippedRegions()
237 unsigned LineEnd = SM.getSpellingLineNumber(LocEnd); in gatherSkippedRegions()
272 unsigned LineStart = SM.getSpellingLineNumber(LocStart); in emitSourceRegions()
274 unsigned LineEnd = SM.getSpellingLineNumber(LocEnd); in emitSourceRegions()
302 unsigned LineStart = SM.getSpellingLineNumber(ParentLoc); in emitExpansionRegions()
304 unsigned LineEnd = SM.getSpellingLineNumber(LocEnd); in emitExpansionRegions()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DTraversalChecker.cpp50 llvm::outs() << C.getSourceManager().getSpellingLineNumber(Loc) << " " in checkBranchCondition()
/external/llvm-project/clang/docs/
DRAVFrontendAction.rst134 << FullLocation.getSpellingLineNumber() << ":"
166 << FullLocation.getSpellingLineNumber() << ":"
/external/clang/docs/
DRAVFrontendAction.rst134 << FullLocation.getSpellingLineNumber() << ":"
166 << FullLocation.getSpellingLineNumber() << ":"
/external/clang/unittests/Tooling/
DTestVisitor.h191 Location.getSpellingLineNumber() == LineNumber && in MatchesLocation()
DCommentHandlerTest.cpp46 unsigned CLine = SM.getSpellingLineNumber(Start, &Invalid); in HandleComment()
/external/llvm-project/lldb/source/Plugins/Language/ClangCommon/
DClangHighlighter.cpp201 SM.getSpellingLineNumber(token.getLocation(), &invalid); in Highlight()
/external/llvm-project/clang/unittests/Tooling/
DCommentHandlerTest.cpp45 unsigned CLine = SM.getSpellingLineNumber(Start, &Invalid); in HandleComment()
DTestVisitor.h205 Location.getSpellingLineNumber() == LineNumber && in MatchesLocation()
/external/llvm-project/clang/lib/Tooling/Refactoring/Rename/
DRenamingAction.cpp216 << ":" << FullLoc.getSpellingLineNumber() << ":" in HandleOneRename()
/external/clang/include/clang/Basic/
DSourceLocation.h291 unsigned getSpellingLineNumber(bool *Invalid = nullptr) const;
/external/llvm-project/clang/lib/CodeGen/
DCoverageMappingGen.cpp167 LineStart = SM.getSpellingLineNumber(LocStart); in SpellingRegion()
169 LineEnd = SM.getSpellingLineNumber(LocEnd); in SpellingRegion()
337 SR.LineStart == SM.getSpellingLineNumber(PrevTokLoc)) in adjustSkippedRange()
340 SR.LineEnd == SM.getSpellingLineNumber(NextTokLoc)) { in adjustSkippedRange()
/external/llvm-project/clang/include/clang/Basic/
DSourceLocation.h402 unsigned getSpellingLineNumber(bool *Invalid = nullptr) const;

12