Home
last modified time | relevance | path

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

/src/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) {
295 TextComment(SourceLocation LocBegin, SourceLocation LocEnd, StringRef Text)
296 : InlineContentComment(CommentKind::TextComment, LocBegin, LocEnd),
341 InlineCommandComment(SourceLocation LocBegin, SourceLocation LocEnd,
345 LocEnd),
398 SourceLocation LocEnd,
402 InlineContentComment(K, LocBegin, 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,
/src/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 …]
/src/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()
282 SourceLocation LocEnd, in actOnTParamCommandStart() argument
286 new (Allocator) TParamCommandComment(LocBegin, LocEnd, CommandID, in actOnTParamCommandStart()
373 SourceLocation LocEnd, in actOnUnknownCommand() argument
376 return actOnUnknownCommand(LocBegin, LocEnd, CommandID); in actOnUnknownCommand()
380 SourceLocation LocEnd, in actOnUnknownCommand() argument
384 LocBegin, LocEnd, CommandID, InlineCommandRenderKind::Normal, Args); in actOnUnknownCommand()
[all …]
/src/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp124 std::optional<SourceLocation> LocEnd; member in __anon015dba650211::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 …]
/src/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()
1003 SourceLocation LocEnd = PDecl->getAtEndRange().getBegin(); in RewriteProtocolDecl() local
1004 ReplaceText(LocEnd, strlen("@end"), "/* @end */"); in RewriteProtocolDecl()
1008 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteProtocolDecl()
1180 SourceLocation LocEnd = OMD->getCompoundBody()->getBeginLoc(); in RewriteImplementationDecl() local
1183 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1193 SourceLocation LocEnd = OMD->getCompoundBody()->getBeginLoc(); in RewriteImplementationDecl() local
1196 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
[all …]
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 …]
/src/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()
/src/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()
/src/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h7074 SourceLocation LocStart, LocEnd; member