Home
last modified time | relevance | path

Searched refs:LocEnd (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCCodeView.cpp276 size_t LocEnd; in getFunctionLineEntries() local
277 std::tie(LocBegin, LocEnd) = getLineExtentIncludingInlinees(FuncId); in getFunctionLineEntries()
278 if (LocBegin >= LocEnd) { in getFunctionLineEntries()
283 for (size_t Idx = LocBegin; Idx != LocEnd; ++Idx) { in getFunctionLineEntries()
322 size_t LocEnd; in getLineExtentIncludingInlinees() local
323 std::tie(LocBegin, LocEnd) = getLineExtent(FuncId); in getLineExtentIncludingInlinees()
332 LocEnd = std::max(LocEnd, Extent.second); in getLineExtentIncludingInlinees()
336 return {LocBegin, LocEnd}; in getLineExtentIncludingInlinees()
487 size_t LocEnd; in encodeInlineLineTable() local
488 std::tie(LocBegin, LocEnd) = getLineExtentIncludingInlinees(Frag.SiteFuncId); in encodeInlineLineTable()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp124 std::optional<SourceLocation> LocEnd; member in __anon413222f00211::SourceMappingRegion
136 std::optional<SourceLocation> LocEnd, in SourceMappingRegion() argument
138 : Count(Count), LocStart(LocStart), LocEnd(LocEnd), GapRegion(GapRegion), in SourceMappingRegion()
144 std::optional<SourceLocation> LocEnd, in SourceMappingRegion() argument
147 LocStart(LocStart), LocEnd(LocEnd), GapRegion(GapRegion), in SourceMappingRegion()
152 std::optional<SourceLocation> LocEnd) in SourceMappingRegion() argument
153 : MCDCParams(MCDCParams), LocStart(LocStart), LocEnd(LocEnd), in SourceMappingRegion()
174 bool hasEndLoc() const { return LocEnd.has_value(); } in hasEndLoc()
178 LocEnd = Loc; in setEndLoc()
182 assert(LocEnd && "Region has no end location"); in getEndLoc()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp1111 SourceLocation LocEnd = Method->getEndLoc(); in RewriteMethodDeclaration() local
1113 if (SM->getExpansionLineNumber(LocEnd) > in RewriteMethodDeclaration()
1116 ReplaceText(LocEnd, 1, ";\n#endif\n"); in RewriteMethodDeclaration()
1169 SourceLocation LocEnd = PDecl->getAtEndRange().getBegin(); in RewriteProtocolDecl() local
1170 ReplaceText(LocEnd, strlen("@end"), "/* @end */\n"); in RewriteProtocolDecl()
1174 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteProtocolDecl()
1356 SourceLocation LocEnd = OMD->getCompoundBody()->getBeginLoc(); in RewriteImplementationDecl() local
1359 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1369 SourceLocation LocEnd = OMD->getCompoundBody()->getBeginLoc(); in RewriteImplementationDecl() local
1372 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeductionGuide.cpp201 SourceLocation Loc, SourceLocation LocEnd, bool IsImplicit, in buildDeductionGuide() argument
215 TInfo->getType(), TInfo, LocEnd, Ctor);
H A DSemaExpr.cpp15740 return ExprError(Diag(OC.LocEnd, diag::err_offsetof_array_type) in BuildBuiltinOffsetOf()
15760 Comps.push_back(OffsetOfNode(OC.LocStart, Exprs.size(), OC.LocEnd)); in BuildBuiltinOffsetOf()
15769 Comps.push_back(OffsetOfNode(OC.LocStart, OC.U.IdentInfo, OC.LocEnd)); in BuildBuiltinOffsetOf()
15782 return ExprError(Diag(OC.LocEnd, diag::err_offsetof_record_type) in BuildBuiltinOffsetOf()
15801 << SourceRange(Components[0].LocStart, OC.LocEnd) << CurrentType; in BuildBuiltinOffsetOf()
15822 << OC.U.IdentInfo << RD << SourceRange(OC.LocStart, OC.LocEnd); in BuildBuiltinOffsetOf()
15831 Diag(OC.LocEnd, diag::err_offsetof_bitfield) in BuildBuiltinOffsetOf()
15848 Diag(OC.LocEnd, diag::err_offsetof_field_of_virtual_base) in BuildBuiltinOffsetOf()
15863 cast<FieldDecl>(FI), OC.LocEnd)); in BuildBuiltinOffsetOf()
15866 Comps.push_back(OffsetOfNode(OC.LocStart, MemberDecl, OC.LocEnd)); in BuildBuiltinOffsetOf()
H A DTreeTransform.h11960 Comp.LocEnd = ON.getSourceRange().getEnd(); in TransformOffsetOfExpr()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseExpr.cpp2779 Comps.back().LocStart = Comps.back().LocEnd = ConsumeToken(); in ParseBuiltinPrimaryExpression()
2795 Comps.back().LocEnd = ConsumeToken(); in ParseBuiltinPrimaryExpression()
2814 Comps.back().LocEnd = ST.getCloseLocation(); in ParseBuiltinPrimaryExpression()
H A DParseExprCXX.cpp1222 SourceLocation LocEnd = PrevTokLocation; in ParseLambdaIntroducer() local
1225 InitCaptureType, SourceRange(LocStart, LocEnd)); in ParseLambdaIntroducer()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h7074 SourceLocation LocStart, LocEnd; member