Home
last modified time | relevance | path

Searched refs:getExpansionLineNumber (Results 1 – 25 of 40) sorted by relevance

12

/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DMisleadingIndentationCheck.cpp26 if (SM.getExpansionLineNumber(PreviousElseLoc) == in getPrecedingIf()
27 SM.getExpansionLineNumber(If->getIfLoc())) in getPrecedingIf()
42 if (SM.getExpansionLineNumber(If->getThen()->getEndLoc()) == in danglingElseCheck()
43 SM.getExpansionLineNumber(ElseLoc)) in danglingElseCheck()
88 if (SM.getExpansionLineNumber(InnerLoc) == in missingBracesCheck()
89 SM.getExpansionLineNumber(OuterLoc)) in missingBracesCheck()
/external/clang/lib/Basic/
DSourceLocation.cpp96 unsigned FullSourceLoc::getExpansionLineNumber(bool *Invalid) const { in getExpansionLineNumber() function in FullSourceLoc
98 return SrcMgr->getExpansionLineNumber(*this, Invalid); in getExpansionLineNumber()
/external/clang/lib/StaticAnalyzer/Checkers/
DStackAddrEscapeChecker.cpp58 << SM.getExpansionLineNumber(CL->getLocStart()) in genName()
67 << SM.getExpansionLineNumber(L); in genName()
74 << SM.getExpansionLineNumber(L); in genName()
/external/clang/lib/StaticAnalyzer/Core/
DHTMLDiagnostics.cpp150 offsetDecl = L.getExpansionLineNumber() - FunL.getExpansionLineNumber(); in ReportDiag()
191 int LineNumber = path.back()->getLocation().asLocation().getExpansionLineNumber(); in ReportDiag()
606 unsigned StartLineNo = SM.getExpansionLineNumber(InstantiationStart); in HighlightRange()
609 unsigned EndLineNo = SM.getExpansionLineNumber(InstantiationEnd); in HighlightRange()
DIssueHash.cpp134 L.getExpansionLineNumber()); in NormalizeLine()
141 SM.translateLineCol(SM.getFileID(L), L.getExpansionLineNumber(), col); in NormalizeLine()
DPlistDiagnostics.cpp448 << L.getExpansionLineNumber() - UFunL.getExpansionLineNumber() in FlushDiagnosticsImpl()
455 << L.getExpansionLineNumber() - FunL.getExpansionLineNumber() in FlushDiagnosticsImpl()
DBugReporter.cpp384 << getSourceManager().getExpansionLineNumber(Loc.asLocation()) in ExecutionContinues()
643 << End.asLocation().getExpansionLineNumber(); in GenerateMinimalPathDiagnostic()
661 << End.asLocation().getExpansionLineNumber(); in GenerateMinimalPathDiagnostic()
665 << End.asLocation().getExpansionLineNumber(); in GenerateMinimalPathDiagnostic()
692 << End.asLocation().getExpansionLineNumber(); in GenerateMinimalPathDiagnostic()
1073 unsigned ContainerBegLine = SM.getExpansionLineNumber(ContainerRBeg); in containsLocation()
1074 unsigned ContainerEndLine = SM.getExpansionLineNumber(ContainerREnd); in containsLocation()
1075 unsigned ContaineeBegLine = SM.getExpansionLineNumber(ContaineeRBeg); in containsLocation()
1076 unsigned ContaineeEndLine = SM.getExpansionLineNumber(ContaineeREnd); in containsLocation()
/external/llvm-project/clang/lib/Analysis/
DIssueHash.cpp141 L.getExpansionLineNumber()); in NormalizeLine()
148 SM.translateLineCol(SM.getFileID(L), L.getExpansionLineNumber(), col); in NormalizeLine()
/external/llvm-project/clang-tools-extra/clang-tidy/llvm/
DIncludeOrderCheck.cpp112 if (SM.getExpansionLineNumber(FileDirectives[I].Loc) != in EndOfMainFile()
113 SM.getExpansionLineNumber(FileDirectives[I - 1].Loc) + 1) in EndOfMainFile()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DHTMLDiagnostics.cpp235 offsetDecl = L.getExpansionLineNumber() - FunL.getExpansionLineNumber(); in ReportDiag()
477 int LineNumber = path.back()->getLocation().asLocation().getExpansionLineNumber(); in FinalizeHTML()
512 P->getLocation().asLocation().getExpansionLineNumber(); in FinalizeHTML()
1039 unsigned StartLineNo = SM.getExpansionLineNumber(InstantiationStart); in HighlightRange()
1042 unsigned EndLineNo = SM.getExpansionLineNumber(InstantiationEnd); in HighlightRange()
DSarifDiagnostics.cpp182 {"startLine", SM.getExpansionLineNumber(R.getBegin())}, in createTextRegion()
188 Region["endLine"] = SM.getExpansionLineNumber(R.getEnd()); in createTextRegion()
DPlistDiagnostics.cpp749 << L.getExpansionLineNumber() - UFunL.getExpansionLineNumber() in FlushDiagnosticsImpl()
756 << L.getExpansionLineNumber() - FunL.getExpansionLineNumber() in FlushDiagnosticsImpl()
DBugReporter.cpp597 << getSourceManager().getExpansionLineNumber(Loc.asLocation()) in ExecutionContinues()
757 << End.asLocation().getExpansionLineNumber(); in generateDiagForSwitchOP()
761 << End.asLocation().getExpansionLineNumber(); in generateDiagForSwitchOP()
786 os << ":' at line " << End.asLocation().getExpansionLineNumber(); in generateDiagForSwitchOP()
805 os << "Control jumps to line " << End.asLocation().getExpansionLineNumber(); in generateDiagForGotoOP()
3110 unsigned StartLine = SM.getExpansionLineNumber(Start); in populateExecutedLinesWithFunctionSignature()
3111 unsigned EndLine = SM.getExpansionLineNumber(End); in populateExecutedLinesWithFunctionSignature()
3126 unsigned LineNo = SM.getExpansionLineNumber(ExpansionLoc); in populateExecutedLinesWithStmt()
/external/llvm-project/clang/lib/Basic/
DSourceLocation.cpp218 unsigned FullSourceLoc::getExpansionLineNumber(bool *Invalid) const { in getExpansionLineNumber() function in FullSourceLoc
220 return SrcMgr->getExpansionLineNumber(*this, Invalid); in getExpansionLineNumber()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DStackAddrEscapeChecker.cpp82 << SM.getExpansionLineNumber(CL->getBeginLoc()) << " returned to caller"; in genName()
89 << SM.getExpansionLineNumber(L); in genName()
95 << SM.getExpansionLineNumber(L); in genName()
/external/clang/include/clang/Basic/
DPlistSupport.h98 EmitInteger(o, Loc.getExpansionLineNumber()) << '\n'; in EmitLocation()
DSourceLocation.h288 unsigned getExpansionLineNumber(bool *Invalid = nullptr) const;
/external/llvm-project/clang/include/clang/Basic/
DPlistSupport.h115 EmitInteger(o, Loc.getExpansionLineNumber()) << '\n'; in EmitLocation()
DSourceLocation.h399 unsigned getExpansionLineNumber(bool *Invalid = nullptr) const;
/external/llvm-project/polly/lib/External/isl/m4/
Dax_detect_clang.m484 AC_EGREP_HEADER([getExpansionLineNumber], [clang/Basic/SourceLocation.h], [],
85 [AC_DEFINE([getExpansionLineNumber], [getInstantiationLineNumber], definition
/external/llvm-project/clang/lib/Frontend/
DTextDiagnostic.cpp947 return std::make_pair(SM.getExpansionLineNumber(Begin), in findLinesForRange()
948 SM.getExpansionLineNumber(End)); in findLinesForRange()
998 unsigned StartLineNo = SM.getExpansionLineNumber(Begin); in highlightRange()
1002 unsigned EndLineNo = SM.getExpansionLineNumber(End); in highlightRange()
/external/llvm-project/polly/lib/External/isl/interface/
Disl_config.h.in139 #undef getExpansionLineNumber
/external/clang/tools/libclang/
DCXSourceLocation.cpp265 *line = SM.getExpansionLineNumber(ExpansionLoc); in clang_getExpansionLocation()
/external/llvm-project/clang/tools/libclang/
DCXSourceLocation.cpp256 *line = SM.getExpansionLineNumber(ExpansionLoc); in clang_getExpansionLocation()
/external/clang/lib/Frontend/
DTextDiagnostic.cpp926 unsigned StartLineNo = SM.getExpansionLineNumber(Begin); in highlightRange()
930 unsigned EndLineNo = SM.getExpansionLineNumber(End); in highlightRange()

12