Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DCommentSema.h90 SourceLocation LocEnd,
101 SourceLocation LocEnd,
119 SourceLocation LocEnd,
137 SourceLocation LocEnd,
141 SourceLocation LocEnd,
145 SourceLocation LocEnd,
173 SourceLocation LocEnd,
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCCodeView.cpp264 size_t LocEnd; in getFunctionLineEntries() local
265 std::tie(LocBegin, LocEnd) = getLineExtentIncludingInlinees(FuncId); in getFunctionLineEntries()
266 if (LocBegin >= LocEnd) { in getFunctionLineEntries()
271 for (size_t Idx = LocBegin; Idx != LocEnd; ++Idx) { in getFunctionLineEntries()
310 size_t LocEnd; in getLineExtentIncludingInlinees() local
311 std::tie(LocBegin, LocEnd) = getLineExtent(FuncId); in getLineExtentIncludingInlinees()
320 LocEnd = std::max(LocEnd, Extent.second); in getLineExtentIncludingInlinees()
324 return {LocBegin, LocEnd}; in getLineExtentIncludingInlinees()
475 size_t LocEnd; in encodeInlineLineTable() local
476 std::tie(LocBegin, LocEnd) = getLineExtentIncludingInlinees(Frag.SiteFuncId); in encodeInlineLineTable()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DCommentSema.cpp52 SourceLocation LocEnd, in actOnBlockCommandStart() argument
55 BlockCommandComment *BC = new (Allocator) BlockCommandComment(LocBegin, LocEnd, in actOnBlockCommandStart()
82 SourceLocation LocEnd, in actOnParamCommandStart() argument
86 new (Allocator) ParamCommandComment(LocBegin, LocEnd, CommandID, in actOnParamCommandStart()
284 SourceLocation LocEnd, in actOnTParamCommandStart() argument
288 new (Allocator) TParamCommandComment(LocBegin, LocEnd, CommandID, in actOnTParamCommandStart()
375 SourceLocation LocEnd, in actOnUnknownCommand() argument
378 return actOnUnknownCommand(LocBegin, LocEnd, CommandID); in actOnUnknownCommand()
382 SourceLocation LocEnd, in actOnUnknownCommand() argument
386 LocBegin, LocEnd, CommandID, InlineCommandRenderKind::Normal, Args); in actOnUnknownCommand()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp122 std::optional<SourceLocation> LocEnd; member in __anon413222f00211::SourceMappingRegion
134 std::optional<SourceLocation> LocEnd, in SourceMappingRegion() argument
136 : Count(Count), LocStart(LocStart), LocEnd(LocEnd), GapRegion(GapRegion), in SourceMappingRegion()
142 std::optional<SourceLocation> LocEnd, in SourceMappingRegion() argument
145 LocStart(LocStart), LocEnd(LocEnd), GapRegion(GapRegion), in SourceMappingRegion()
150 std::optional<SourceLocation> LocEnd) in SourceMappingRegion() argument
151 : MCDCParams(MCDCParams), LocStart(LocStart), LocEnd(LocEnd), in SourceMappingRegion()
172 bool hasEndLoc() const { return LocEnd.has_value(); } in hasEndLoc()
176 LocEnd = Loc; in setEndLoc()
180 assert(LocEnd && "Region has no end location"); in getEndLoc()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp950 SourceLocation LocEnd = Method->getEndLoc(); in RewriteMethodDeclaration() local
952 if (SM->getExpansionLineNumber(LocEnd) > in RewriteMethodDeclaration()
955 ReplaceText(LocEnd, 1, ";\n#endif\n"); in RewriteMethodDeclaration()
1001 SourceLocation LocEnd = PDecl->getAtEndRange().getBegin(); in RewriteProtocolDecl() local
1002 ReplaceText(LocEnd, strlen("@end"), "/* @end */"); in RewriteProtocolDecl()
1006 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteProtocolDecl()
1178 SourceLocation LocEnd = OMD->getCompoundBody()->getBeginLoc(); in RewriteImplementationDecl() local
1181 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1191 SourceLocation LocEnd = OMD->getCompoundBody()->getBeginLoc(); in RewriteImplementationDecl() local
1194 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
[all …]
H A DRewriteModernObjC.cpp1110 SourceLocation LocEnd = Method->getEndLoc(); in RewriteMethodDeclaration() local
1112 if (SM->getExpansionLineNumber(LocEnd) > in RewriteMethodDeclaration()
1115 ReplaceText(LocEnd, 1, ";\n#endif\n"); in RewriteMethodDeclaration()
1168 SourceLocation LocEnd = PDecl->getAtEndRange().getBegin(); in RewriteProtocolDecl() local
1169 ReplaceText(LocEnd, strlen("@end"), "/* @end */\n"); in RewriteProtocolDecl()
1173 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteProtocolDecl()
1355 SourceLocation LocEnd = OMD->getCompoundBody()->getBeginLoc(); in RewriteImplementationDecl() local
1358 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1368 SourceLocation LocEnd = OMD->getCompoundBody()->getBeginLoc(); in RewriteImplementationDecl() local
1371 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 SemaRef.Context, DC, LocStart, ES, Name, TInfo->getType(), TInfo, LocEnd,
H A DSemaHLSL.cpp1618 SourceLocation LocEnd = AttrList[0]->getRange().getEnd(); in CreateHLSLAttributedResourceType() local
1626 LocEnd = A->getRange().getEnd(); in CreateHLSLAttributedResourceType()
1684 LocInfo->Range = SourceRange(LocBegin, LocEnd); in CreateHLSLAttributedResourceType()
H A DSemaExpr.cpp16106 return ExprError(Diag(OC.LocEnd, diag::err_offsetof_array_type) in BuildBuiltinOffsetOf()
16126 Comps.push_back(OffsetOfNode(OC.LocStart, Exprs.size(), OC.LocEnd)); in BuildBuiltinOffsetOf()
16135 Comps.push_back(OffsetOfNode(OC.LocStart, OC.U.IdentInfo, OC.LocEnd)); in BuildBuiltinOffsetOf()
16148 return ExprError(Diag(OC.LocEnd, diag::err_offsetof_record_type) in BuildBuiltinOffsetOf()
16167 << SourceRange(Components[0].LocStart, OC.LocEnd) << CurrentType; in BuildBuiltinOffsetOf()
16188 << OC.U.IdentInfo << RD << SourceRange(OC.LocStart, OC.LocEnd); in BuildBuiltinOffsetOf()
16197 Diag(OC.LocEnd, diag::err_offsetof_bitfield) in BuildBuiltinOffsetOf()
16214 Diag(OC.LocEnd, diag::err_offsetof_field_of_virtual_base) in BuildBuiltinOffsetOf()
16229 cast<FieldDecl>(FI), OC.LocEnd)); in BuildBuiltinOffsetOf()
16232 Comps.push_back(OffsetOfNode(OC.LocStart, MemberDecl, OC.LocEnd)); in BuildBuiltinOffsetOf()
H A DTreeTransform.h13084 Comp.LocEnd = ON.getSourceRange().getEnd(); in TransformOffsetOfExpr()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseExpr.cpp2392 Comps.back().LocStart = Comps.back().LocEnd = ConsumeToken(); in ParseBuiltinPrimaryExpression()
2408 Comps.back().LocEnd = ConsumeToken(); in ParseBuiltinPrimaryExpression()
2427 Comps.back().LocEnd = ST.getCloseLocation(); in ParseBuiltinPrimaryExpression()
H A DParseExprCXX.cpp1079 SourceLocation LocEnd = PrevTokLocation; in ParseLambdaIntroducer() local
1082 InitCaptureType, SourceRange(LocStart, LocEnd)); in ParseLambdaIntroducer()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h7499 SourceLocation LocStart, LocEnd; member