reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/Basic/SourceManager.h
 1410   unsigned getExpansionLineNumber(SourceLocation Loc, bool *Invalid = nullptr) const;

References

tools/clang/lib/AST/JSONNodeDumper.cpp
  204                                    : SM.getExpansionLineNumber(Loc);
tools/clang/lib/Analysis/AnalysisDeclContext.cpp
  471     Out << SM.getExpansionLineNumber(Loc);
tools/clang/lib/Basic/SourceLocation.cpp
  209   return SrcMgr->getExpansionLineNumber(*this, Invalid);
tools/clang/lib/CodeGen/CodeGenModule.cpp
 2201     SM.getExpansionLineNumber(L);
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
 1111   if (SM->getExpansionLineNumber(LocEnd) >
 1112       SM->getExpansionLineNumber(LocStart)) {
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp
  950   if (SM->getExpansionLineNumber(LocEnd) >
  951       SM->getExpansionLineNumber(LocStart)) {
tools/clang/lib/Frontend/TextDiagnostic.cpp
  945   return std::make_pair(SM.getExpansionLineNumber(Begin),
  946                         SM.getExpansionLineNumber(End));
  996   unsigned StartLineNo = SM.getExpansionLineNumber(Begin);
 1000   unsigned EndLineNo = SM.getExpansionLineNumber(End);
tools/clang/lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp
   81        << SM.getExpansionLineNumber(CL->getBeginLoc()) << " returned to caller";
   88        << SM.getExpansionLineNumber(L);
   94        << SM.getExpansionLineNumber(L);
tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
  594        << getSourceManager().getExpansionLineNumber(Loc.asLocation())
 3060   unsigned StartLine = SM.getExpansionLineNumber(Start);
 3061   unsigned EndLine = SM.getExpansionLineNumber(End);
 3076   unsigned LineNo = SM.getExpansionLineNumber(ExpansionLoc);
tools/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
 1002   unsigned StartLineNo = SM.getExpansionLineNumber(InstantiationStart);
 1005   unsigned EndLineNo = SM.getExpansionLineNumber(InstantiationEnd);
tools/clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
  147       {"startLine", SM.getExpansionLineNumber(R.getBegin())},
  153     Region["endLine"] = SM.getExpansionLineNumber(R.getEnd());
tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp
  559   unsigned LineNumber = Sources.getExpansionLineNumber(Location);
tools/clang/tools/extra/clang-tidy/llvm/IncludeOrderCheck.cpp
  110       if (SM.getExpansionLineNumber(FileDirectives[I].Loc) !=
  111           SM.getExpansionLineNumber(FileDirectives[I - 1].Loc) + 1)
tools/clang/tools/extra/clang-tidy/readability/MisleadingIndentationCheck.cpp
   26     if (SM.getExpansionLineNumber(PreviousElseLoc) ==
   27         SM.getExpansionLineNumber(If->getIfLoc()))
   42   if (SM.getExpansionLineNumber(If->getThen()->getEndLoc()) ==
   43       SM.getExpansionLineNumber(ElseLoc))
   88     if (SM.getExpansionLineNumber(InnerLoc) ==
   89         SM.getExpansionLineNumber(OuterLoc))
tools/clang/tools/extra/clangd/refactor/tweaks/ExpandAutoType.cpp
  115           std::to_string(SrcMgr.getExpansionLineNumber(Inputs.Cursor));
tools/clang/tools/libclang/CXSourceLocation.cpp
  255     *line = SM.getExpansionLineNumber(ExpansionLoc);