Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DComment.h199 SourceLocation LocEnd) : in Comment() argument
241 Comment(K, LocBegin, LocEnd) { in InlineContentComment()
266 SourceLocation LocEnd, in TextComment() argument
322 SourceLocation LocEnd, in InlineCommandComment() argument
378 SourceLocation LocEnd, in HTMLTagComment() argument
510 SourceLocation LocEnd, in HTMLEndTagComment() argument
513 LocBegin, LocEnd, in HTMLEndTagComment()
535 Comment(K, LocBegin, LocEnd) in BlockContentComment()
615 SourceLocation LocEnd, in BlockCommandComment() argument
627 SourceLocation LocEnd, in BlockCommandComment() argument
[all …]
H A DCommentSema.h90 SourceLocation LocEnd,
101 SourceLocation LocEnd,
119 SourceLocation LocEnd,
143 SourceLocation LocEnd,
147 SourceLocation LocEnd,
151 SourceLocation LocEnd,
179 SourceLocation LocEnd,
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp105 Optional<SourceLocation> LocEnd; member in __anone2f8b4240211::SourceMappingRegion
114 : Count(Count), LocStart(LocStart), LocEnd(LocEnd), GapRegion(GapRegion) { in SourceMappingRegion()
121 LocEnd(LocEnd), GapRegion(GapRegion) {} in SourceMappingRegion()
145 LocEnd = Loc; in setEndLoc()
150 return *LocEnd; in getEndLoc()
175 SourceLocation LocEnd) { in SpellingRegion()
178 LineEnd = SM.getSpellingLineNumber(LocEnd); in SpellingRegion()
343 SpellingRegion SR{SM, LocStart, LocEnd}; in adjustSkippedRange()
378 auto LocEnd = Range.getEnd(); in gatherSkippedRegions() local
430 SpellingRegion SR{SM, LocStart, LocEnd}; in emitSourceRegions()
[all …]
/freebsd-13.1/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()
285 SourceLocation LocEnd, in actOnTParamCommandStart() argument
400 SourceLocation LocEnd, in actOnUnknownCommand() argument
403 return actOnUnknownCommand(LocBegin, LocEnd, CommandID); in actOnUnknownCommand()
411 LocBegin, LocEnd, CommandID, in actOnUnknownCommand()
417 SourceLocation LocEnd, in actOnText() argument
419 return new (Allocator) TextComment(LocBegin, LocEnd, Text); in actOnText()
479 SourceLocation LocEnd, in actOnHTMLEndTag() argument
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/
H A DMCCodeView.cpp464 size_t LocEnd; in encodeInlineLineTable() local
465 std::tie(LocBegin, LocEnd) = getLineExtent(Frag.SiteFuncId); in encodeInlineLineTable()
473 LocEnd = std::max(LocEnd, Extent.second); in encodeInlineLineTable()
476 if (LocBegin >= LocEnd) in encodeInlineLineTable()
478 ArrayRef<MCCVLoc> Locs = getLinesForExtent(LocBegin, LocEnd); in encodeInlineLineTable()
593 ArrayRef<MCCVLoc> LocAfter = getLinesForExtent(LocEnd, LocEnd + 1); in encodeInlineLineTable()
/freebsd-13.1/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.cpp1111 SourceLocation LocEnd = Method->getEndLoc(); in RewriteMethodDeclaration() local
1113 if (SM->getExpansionLineNumber(LocEnd) > in RewriteMethodDeclaration()
1116 ReplaceText(LocEnd, 1, ";\n#endif\n"); in RewriteMethodDeclaration()
1170 ReplaceText(LocEnd, strlen("@end"), "/* @end */\n"); in RewriteProtocolDecl()
1174 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteProtocolDecl()
1359 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1372 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-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParseExpr.cpp2556 Comps.back().LocStart = Comps.back().LocEnd = ConsumeToken(); in ParseBuiltinPrimaryExpression()
2572 Comps.back().LocEnd = ConsumeToken(); in ParseBuiltinPrimaryExpression()
2592 Comps.back().LocEnd = ST.getCloseLocation(); in ParseBuiltinPrimaryExpression()
H A DParseExprCXX.cpp1146 SourceLocation LocEnd = PrevTokLocation; in ParseLambdaIntroducer() local
1149 InitCaptureType, SourceRange(LocStart, LocEnd)); in ParseLambdaIntroducer()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp15205 return ExprError(Diag(OC.LocEnd, diag::err_offsetof_array_type) in BuildBuiltinOffsetOf()
15225 Comps.push_back(OffsetOfNode(OC.LocStart, Exprs.size(), OC.LocEnd)); in BuildBuiltinOffsetOf()
15234 Comps.push_back(OffsetOfNode(OC.LocStart, OC.U.IdentInfo, OC.LocEnd)); in BuildBuiltinOffsetOf()
15247 return ExprError(Diag(OC.LocEnd, diag::err_offsetof_record_type) in BuildBuiltinOffsetOf()
15267 << SourceRange(Components[0].LocStart, OC.LocEnd) in BuildBuiltinOffsetOf()
15285 OC.LocEnd)); in BuildBuiltinOffsetOf()
15292 Diag(OC.LocEnd, diag::err_offsetof_bitfield) in BuildBuiltinOffsetOf()
15309 Diag(OC.LocEnd, diag::err_offsetof_field_of_virtual_base) in BuildBuiltinOffsetOf()
15324 cast<FieldDecl>(FI), OC.LocEnd)); in BuildBuiltinOffsetOf()
15327 Comps.push_back(OffsetOfNode(OC.LocStart, MemberDecl, OC.LocEnd)); in BuildBuiltinOffsetOf()
H A DSemaTemplate.cpp2430 SourceLocation Loc, SourceLocation LocEnd, in buildDeductionGuide()
2439 TInfo->getType(), TInfo, LocEnd, Ctor);
H A DTreeTransform.h10467 Comp.LocEnd = ON.getSourceRange().getEnd(); in TransformOffsetOfExpr()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h5528 SourceLocation LocStart, LocEnd; member