Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DComment.h228 SourceLocation LocEnd) :
229 Loc(LocBegin), Range(SourceRange(LocBegin, LocEnd)) {
269 SourceLocation LocEnd) :
270 Comment(K, LocBegin, LocEnd) {
345 LocEnd),
398 SourceLocation LocEnd,
402 InlineContentComment(K, LocBegin, LocEnd),
542 SourceLocation LocEnd) :
543 Comment(K, LocBegin, LocEnd)
614 SourceLocation LocEnd,
[all …]
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-14.2/contrib/llvm-project/llvm/lib/MC/
H A DMCCodeView.cpp279 size_t LocEnd; in getFunctionLineEntries() local
281 if (LocBegin >= LocEnd) { in getFunctionLineEntries()
286 for (size_t Idx = LocBegin; Idx != LocEnd; ++Idx) { in getFunctionLineEntries()
325 size_t LocEnd; in getLineExtentIncludingInlinees() local
326 std::tie(LocBegin, LocEnd) = getLineExtent(FuncId); in getLineExtentIncludingInlinees()
335 LocEnd = std::max(LocEnd, Extent.second); in getLineExtentIncludingInlinees()
339 return {LocBegin, LocEnd}; in getLineExtentIncludingInlinees()
488 size_t LocEnd; in encodeInlineLineTable() local
491 if (LocBegin >= LocEnd) in encodeInlineLineTable()
493 ArrayRef<MCCVLoc> Locs = getLinesForExtent(LocBegin, LocEnd); in encodeInlineLineTable()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp116 std::optional<SourceLocation> LocEnd; member in __anonc2c3cfe60211::SourceMappingRegion
130 : Count(Count), LocStart(LocStart), LocEnd(LocEnd), GapRegion(GapRegion), in SourceMappingRegion()
139 LocStart(LocStart), LocEnd(LocEnd), GapRegion(GapRegion), in SourceMappingRegion()
145 : MCDCParams(MCDCParams), LocStart(LocStart), LocEnd(LocEnd), in SourceMappingRegion()
170 LocEnd = Loc; in setEndLoc()
175 return *LocEnd; in getEndLoc()
208 SourceLocation LocEnd) { in SpellingRegion()
211 LineEnd = SM.getSpellingLineNumber(LocEnd); in SpellingRegion()
379 SpellingRegion SR{SM, LocStart, LocEnd}; in adjustSkippedRange()
414 auto LocEnd = Range.getEnd(); in gatherSkippedRegions() local
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DCommentSema.cpp52 SourceLocation LocEnd, in actOnBlockCommandStart() argument
82 SourceLocation LocEnd, in actOnParamCommandStart() argument
86 new (Allocator) ParamCommandComment(LocBegin, LocEnd, CommandID, in actOnParamCommandStart()
282 SourceLocation LocEnd, in actOnTParamCommandStart() argument
373 SourceLocation LocEnd, in actOnUnknownCommand() argument
376 return actOnUnknownCommand(LocBegin, LocEnd, CommandID); in actOnUnknownCommand()
380 SourceLocation LocEnd, in actOnUnknownCommand() argument
388 SourceLocation LocEnd, in actOnText() argument
390 return new (Allocator) TextComment(LocBegin, LocEnd, Text); in actOnText()
450 SourceLocation LocEnd, in actOnHTMLEndTag() argument
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp952 SourceLocation LocEnd = Method->getEndLoc(); in RewriteMethodDeclaration() local
954 if (SM->getExpansionLineNumber(LocEnd) > in RewriteMethodDeclaration()
957 ReplaceText(LocEnd, 1, ";\n#endif\n"); in RewriteMethodDeclaration()
1004 ReplaceText(LocEnd, strlen("@end"), "/* @end */"); in RewriteProtocolDecl()
1008 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteProtocolDecl()
1183 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1196 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
3100 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteObjCInternalStruct()
3201 InsertText(LocEnd.getLocWithOffset(1), ";"); in RewriteObjCInternalStruct()
3884 SourceLocation LocEnd = CE->getRParenLoc(); in RewriteCastExpr() local
[all …]
H A DRewriteModernObjC.cpp1112 SourceLocation LocEnd = Method->getEndLoc(); in RewriteMethodDeclaration() local
1114 if (SM->getExpansionLineNumber(LocEnd) > in RewriteMethodDeclaration()
1117 ReplaceText(LocEnd, 1, ";\n#endif\n"); in RewriteMethodDeclaration()
1171 ReplaceText(LocEnd, strlen("@end"), "/* @end */\n"); in RewriteProtocolDecl()
1175 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteProtocolDecl()
1360 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1373 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
3887 SourceLocation LocEnd = CDecl->getEndOfDefinitionLoc(); in RewriteObjCInternalStruct() local
3890 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteObjCInternalStruct()
4715 SourceLocation LocEnd = CE->getRParenLoc(); in RewriteCastExpr() local
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseExpr.cpp2705 Comps.back().LocStart = Comps.back().LocEnd = ConsumeToken(); in ParseBuiltinPrimaryExpression()
2721 Comps.back().LocEnd = ConsumeToken(); in ParseBuiltinPrimaryExpression()
2740 Comps.back().LocEnd = ST.getCloseLocation(); in ParseBuiltinPrimaryExpression()
H A DParseExprCXX.cpp1148 SourceLocation LocEnd = PrevTokLocation; in ParseLambdaIntroducer() local
1151 InitCaptureType, SourceRange(LocStart, LocEnd)); in ParseLambdaIntroducer()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp16746 return ExprError(Diag(OC.LocEnd, diag::err_offsetof_array_type) in BuildBuiltinOffsetOf()
16766 Comps.push_back(OffsetOfNode(OC.LocStart, Exprs.size(), OC.LocEnd)); in BuildBuiltinOffsetOf()
16775 Comps.push_back(OffsetOfNode(OC.LocStart, OC.U.IdentInfo, OC.LocEnd)); in BuildBuiltinOffsetOf()
16788 return ExprError(Diag(OC.LocEnd, diag::err_offsetof_record_type) in BuildBuiltinOffsetOf()
16807 << SourceRange(Components[0].LocStart, OC.LocEnd) << CurrentType; in BuildBuiltinOffsetOf()
16828 << OC.U.IdentInfo << RD << SourceRange(OC.LocStart, OC.LocEnd); in BuildBuiltinOffsetOf()
16837 Diag(OC.LocEnd, diag::err_offsetof_bitfield) in BuildBuiltinOffsetOf()
16854 Diag(OC.LocEnd, diag::err_offsetof_field_of_virtual_base) in BuildBuiltinOffsetOf()
16869 cast<FieldDecl>(FI), OC.LocEnd)); in BuildBuiltinOffsetOf()
16872 Comps.push_back(OffsetOfNode(OC.LocStart, MemberDecl, OC.LocEnd)); in BuildBuiltinOffsetOf()
H A DSemaTemplate.cpp2648 SourceLocation Loc, SourceLocation LocEnd, in buildDeductionGuide()
2657 TInfo->getType(), TInfo, LocEnd, Ctor);
H A DTreeTransform.h11113 Comp.LocEnd = ON.getSourceRange().getEnd(); in TransformOffsetOfExpr()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h6106 SourceLocation LocStart, LocEnd; member