Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DComment.h204 SourceLocation LocEnd) : in Comment() argument
205 Loc(LocBegin), Range(SourceRange(LocBegin, LocEnd)) { in Comment()
245 SourceLocation LocEnd) : in InlineContentComment() argument
246 Comment(K, LocBegin, LocEnd) { in InlineContentComment()
271 SourceLocation LocEnd, in TextComment() argument
273 InlineContentComment(TextCommentKind, LocBegin, LocEnd), in TextComment()
320 SourceLocation LocEnd, in InlineCommandComment() argument
324 InlineContentComment(InlineCommandCommentKind, LocBegin, LocEnd), in InlineCommandComment()
376 SourceLocation LocEnd, in HTMLTagComment() argument
380 InlineContentComment(K, LocBegin, LocEnd), in HTMLTagComment()
[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,
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp106 std::optional<SourceLocation> LocEnd; member in __anond4b6e5a70211::SourceMappingRegion
114 std::optional<SourceLocation> LocEnd, in SourceMappingRegion() argument
116 : Count(Count), LocStart(LocStart), LocEnd(LocEnd), GapRegion(GapRegion) { in SourceMappingRegion()
121 std::optional<SourceLocation> LocEnd, in SourceMappingRegion() argument
124 LocEnd(LocEnd), GapRegion(GapRegion) {} in SourceMappingRegion()
144 bool hasEndLoc() const { return LocEnd.has_value(); } in hasEndLoc()
148 LocEnd = Loc; in setEndLoc()
152 assert(LocEnd && "Region has no end location"); in getEndLoc()
153 return *LocEnd; in getEndLoc()
178 SourceLocation LocEnd) { in SpellingRegion()
[all …]
/openbsd-src/gnu/llvm/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()
281 SourceLocation LocEnd, in actOnTParamCommandStart() argument
285 new (Allocator) TParamCommandComment(LocBegin, LocEnd, CommandID, in actOnTParamCommandStart()
372 SourceLocation LocEnd, in actOnUnknownCommand() argument
375 return actOnUnknownCommand(LocBegin, LocEnd, CommandID); in actOnUnknownCommand()
379 SourceLocation LocEnd, in actOnUnknownCommand() argument
383 LocBegin, LocEnd, CommandID, in actOnUnknownCommand()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DMCCodeView.cpp465 size_t LocEnd; in encodeInlineLineTable() local
466 std::tie(LocBegin, LocEnd) = getLineExtent(Frag.SiteFuncId); in encodeInlineLineTable()
474 LocEnd = std::max(LocEnd, Extent.second); in encodeInlineLineTable()
477 if (LocBegin >= LocEnd) in encodeInlineLineTable()
479 ArrayRef<MCCVLoc> Locs = getLinesForExtent(LocBegin, LocEnd); in encodeInlineLineTable()
594 ArrayRef<MCCVLoc> LocAfter = getLinesForExtent(LocEnd, LocEnd + 1); in encodeInlineLineTable()
/openbsd-src/gnu/llvm/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.cpp1112 SourceLocation LocEnd = Method->getEndLoc(); in RewriteMethodDeclaration() local
1114 if (SM->getExpansionLineNumber(LocEnd) > in RewriteMethodDeclaration()
1117 ReplaceText(LocEnd, 1, ";\n#endif\n"); in RewriteMethodDeclaration()
1170 SourceLocation LocEnd = PDecl->getAtEndRange().getBegin(); in RewriteProtocolDecl() local
1171 ReplaceText(LocEnd, strlen("@end"), "/* @end */\n"); in RewriteProtocolDecl()
1175 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteProtocolDecl()
1357 SourceLocation LocEnd = OMD->getCompoundBody()->getBeginLoc(); in RewriteImplementationDecl() local
1360 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1370 SourceLocation LocEnd = OMD->getCompoundBody()->getBeginLoc(); in RewriteImplementationDecl() local
1373 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParseExpr.cpp2630 Comps.back().LocStart = Comps.back().LocEnd = ConsumeToken(); in ParseBuiltinPrimaryExpression()
2646 Comps.back().LocEnd = ConsumeToken(); in ParseBuiltinPrimaryExpression()
2665 Comps.back().LocEnd = ST.getCloseLocation(); in ParseBuiltinPrimaryExpression()
H A DParseExprCXX.cpp1147 SourceLocation LocEnd = PrevTokLocation; in ParseLambdaIntroducer() local
1150 InitCaptureType, SourceRange(LocStart, LocEnd)); in ParseLambdaIntroducer()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaExpr.cpp16241 return ExprError(Diag(OC.LocEnd, diag::err_offsetof_array_type) in BuildBuiltinOffsetOf()
16261 Comps.push_back(OffsetOfNode(OC.LocStart, Exprs.size(), OC.LocEnd)); in BuildBuiltinOffsetOf()
16270 Comps.push_back(OffsetOfNode(OC.LocStart, OC.U.IdentInfo, OC.LocEnd)); in BuildBuiltinOffsetOf()
16283 return ExprError(Diag(OC.LocEnd, diag::err_offsetof_record_type) in BuildBuiltinOffsetOf()
16303 << SourceRange(Components[0].LocStart, OC.LocEnd) in BuildBuiltinOffsetOf()
16321 OC.LocEnd)); in BuildBuiltinOffsetOf()
16328 Diag(OC.LocEnd, diag::err_offsetof_bitfield) in BuildBuiltinOffsetOf()
16345 Diag(OC.LocEnd, diag::err_offsetof_field_of_virtual_base) in BuildBuiltinOffsetOf()
16360 cast<FieldDecl>(FI), OC.LocEnd)); in BuildBuiltinOffsetOf()
16363 Comps.push_back(OffsetOfNode(OC.LocStart, MemberDecl, OC.LocEnd)); in BuildBuiltinOffsetOf()
H A DSemaTemplate.cpp2531 SourceLocation Loc, SourceLocation LocEnd, in buildDeductionGuide()
2540 TInfo->getType(), TInfo, LocEnd, Ctor);
H A DTreeTransform.h10896 Comp.LocEnd = ON.getSourceRange().getEnd(); in TransformOffsetOfExpr()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DSema.h5952 SourceLocation LocStart, LocEnd; member