|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
tools/clang/include/clang/Basic/SourceManager.h 1409 unsigned getSpellingLineNumber(SourceLocation Loc, bool *Invalid = nullptr) const;
References
tools/clang/lib/AST/JSONNodeDumper.cpp 203 unsigned ActualLine = IsSpelling ? SM.getSpellingLineNumber(Loc)
tools/clang/lib/Basic/SourceLocation.cpp 219 return SrcMgr->getSpellingLineNumber(*this, Invalid);
tools/clang/lib/CodeGen/CoverageMappingGen.cpp 111 LineStart = SM.getSpellingLineNumber(LocStart);
113 LineEnd = SM.getSpellingLineNumber(LocEnd);
tools/clang/lib/Format/UnwrappedLineFormatter.cpp 1103 SourceMgr.getSpellingLineNumber(TheLine.First->Tok.getLocation());
tools/clang/lib/Frontend/VerifyDiagnosticConsumer.cpp 512 unsigned ExpectedLine = SM.getSpellingLineNumber(Pos, &Invalid);
tools/clang/lib/Sema/SemaChecking.cpp14027 unsigned BodyLine = SourceMgr.getSpellingLineNumber(Body->getSemiLoc(),
tools/clang/lib/StaticAnalyzer/Checkers/TraversalChecker.cpp 50 llvm::outs() << C.getSourceManager().getSpellingLineNumber(Loc) << " "
tools/clang/lib/Tooling/Refactoring/Extract/SourceExtraction.cpp 63 SM.getSpellingLineNumber(Loc1) == SM.getSpellingLineNumber(Loc2);
63 SM.getSpellingLineNumber(Loc1) == SM.getSpellingLineNumber(Loc2);
tools/clang/tools/extra/clang-tidy/bugprone/SuspiciousMissingCommaCheck.cpp 43 unsigned int BaseLine = SM.getSpellingLineNumber(FirstToken);
48 unsigned int Line = SM.getSpellingLineNumber(Token);
tools/clang/tools/extra/clang-tidy/bugprone/SuspiciousSemicolonCheck.cpp 45 unsigned SemicolonLine = SM.getSpellingLineNumber(LocStart);
51 SM.getSpellingLineNumber(Token.getLocation()) != SemicolonLine)
65 unsigned NewTokenLine = SM.getSpellingLineNumber(Token.getLocation());
tools/clang/tools/extra/clang-tidy/readability/BracesAroundStatementsCheck.cpp 259 unsigned StartLine = SM.getSpellingLineNumber(StartLoc);
260 unsigned EndLine = SM.getSpellingLineNumber(EndLoc);
tools/clang/tools/extra/clang-tidy/readability/FunctionSizeCheck.cpp 170 FI.Lines = SM->getSpellingLineNumber(Body->getEndLoc()) -
171 SM->getSpellingLineNumber(Body->getBeginLoc());
tools/clang/tools/extra/clang-tidy/readability/NamespaceCommentCheck.cpp 77 unsigned StartLine = Sources.getSpellingLineNumber(ND->getBeginLoc());
78 unsigned EndLine = Sources.getSpellingLineNumber(ND->getRBraceLoc());
130 bool NextTokenIsOnSameLine = Sources.getSpellingLineNumber(Loc) == EndLine;
tools/clang/tools/extra/clang-tidy/utils/IncludeSorter.cpp 208 SourceMgr->getSpellingLineNumber(LocationIterator->getBegin());
224 SourceMgr->getSpellingLineNumber(SourceLocationIterator->getBegin());
tools/clang/tools/libclang/CIndex.cpp 6547 *startLine = SM.getSpellingLineNumber(Body->getLBracLoc());
6549 *endLine = SM.getSpellingLineNumber(Body->getRBracLoc());
tools/clang/unittests/AST/MatchVerifier.h 190 unsigned Line = Result.SourceManager->getSpellingLineNumber(Loc);
232 unsigned BeginLine = Result.SourceManager->getSpellingLineNumber(Begin);
234 unsigned EndLine = Result.SourceManager->getSpellingLineNumber(End);
tools/clang/unittests/Tooling/CommentHandlerTest.cpp 45 unsigned CLine = SM.getSpellingLineNumber(Start, &Invalid);
tools/lldb/source/Plugins/Language/ClangCommon/ClangHighlighter.cpp 184 SM.getSpellingLineNumber(token.getLocation(), &invalid);