Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDComment.h199 SourceLocation LocEnd) : in Comment() argument
200 Loc(LocBegin), Range(SourceRange(LocBegin, LocEnd)) { in Comment()
246 SourceLocation LocEnd) : in InlineContentComment() argument
247 Comment(K, LocBegin, LocEnd) { in InlineContentComment()
272 SourceLocation LocEnd, in TextComment() argument
274 InlineContentComment(TextCommentKind, LocBegin, LocEnd), in TextComment()
327 SourceLocation LocEnd, in InlineCommandComment() argument
331 InlineContentComment(InlineCommandCommentKind, LocBegin, LocEnd), in InlineCommandComment()
384 SourceLocation LocEnd, in HTMLTagComment() argument
388 InlineContentComment(K, LocBegin, LocEnd), in HTMLTagComment()
[all …]
HDCommentSema.h95 SourceLocation LocEnd,
106 SourceLocation LocEnd,
124 SourceLocation LocEnd,
148 SourceLocation LocEnd,
152 SourceLocation LocEnd,
156 SourceLocation LocEnd,
184 SourceLocation LocEnd,
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCoverageMappingGen.cpp43 Optional<SourceLocation> LocEnd; member in __anon177107890111::SourceMappingRegion
47 Optional<SourceLocation> LocEnd) in SourceMappingRegion() argument
48 : Count(Count), LocStart(LocStart), LocEnd(LocEnd) {} in SourceMappingRegion()
52 LocEnd(std::move(Region.LocEnd)) {} in SourceMappingRegion()
57 LocEnd = std::move(RHS.LocEnd); in operator =()
74 bool hasEndLoc() const { return LocEnd.hasValue(); } in hasEndLoc()
76 void setEndLoc(SourceLocation Loc) { LocEnd = Loc; } in setEndLoc()
79 assert(LocEnd && "Region has no end location"); in getEndLoc()
80 return *LocEnd; in getEndLoc()
230 auto LocEnd = I.getEnd(); in gatherSkippedRegions() local
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDCommentSema.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()
283 SourceLocation LocEnd, in actOnTParamCommandStart() argument
287 new (Allocator) TParamCommandComment(LocBegin, LocEnd, CommandID, in actOnTParamCommandStart()
400 SourceLocation LocEnd, in actOnUnknownCommand() argument
403 return actOnUnknownCommand(LocBegin, LocEnd, CommandID); in actOnUnknownCommand()
407 SourceLocation LocEnd, in actOnUnknownCommand() argument
411 LocBegin, LocEnd, CommandID, in actOnUnknownCommand()
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
HDRewriteObjC.cpp948 SourceLocation LocEnd = Method->getLocEnd(); in RewriteMethodDeclaration() local
950 if (SM->getExpansionLineNumber(LocEnd) > in RewriteMethodDeclaration()
953 ReplaceText(LocEnd, 1, ";\n#endif\n"); in RewriteMethodDeclaration()
999 SourceLocation LocEnd = PDecl->getAtEndRange().getBegin(); in RewriteProtocolDecl() local
1000 ReplaceText(LocEnd, strlen("@end"), "/* @end */"); in RewriteProtocolDecl()
1004 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteProtocolDecl()
1172 SourceLocation LocEnd = OMD->getCompoundBody()->getLocStart(); in RewriteImplementationDecl() local
1175 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1183 SourceLocation LocEnd = OMD->getCompoundBody()->getLocStart(); in RewriteImplementationDecl() local
1186 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
[all …]
HDRewriteModernObjC.cpp1120 SourceLocation LocEnd = Method->getLocEnd(); in RewriteMethodDeclaration() local
1122 if (SM->getExpansionLineNumber(LocEnd) > in RewriteMethodDeclaration()
1125 ReplaceText(LocEnd, 1, ";\n#endif\n"); in RewriteMethodDeclaration()
1178 SourceLocation LocEnd = PDecl->getAtEndRange().getBegin(); in RewriteProtocolDecl() local
1179 ReplaceText(LocEnd, strlen("@end"), "/* @end */\n"); in RewriteProtocolDecl()
1183 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteProtocolDecl()
1377 SourceLocation LocEnd = OMD->getCompoundBody()->getLocStart(); in RewriteImplementationDecl() local
1380 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1388 SourceLocation LocEnd = OMD->getCompoundBody()->getLocStart(); in RewriteImplementationDecl() local
1391 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/Parse/
HDParseExpr.cpp1922 Comps.back().LocStart = Comps.back().LocEnd = ConsumeToken(); in ParseBuiltinPrimaryExpression()
1938 Comps.back().LocEnd = ConsumeToken(); in ParseBuiltinPrimaryExpression()
1958 Comps.back().LocEnd = ST.getCloseLocation(); in ParseBuiltinPrimaryExpression()
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaExpr.cpp11001 << SourceRange(CompPtr[1].LocStart, CompPtr[NumComponents-1].LocEnd); in BuildBuiltinOffsetOf()
11015 return ExprError(Diag(OC.LocEnd, diag::err_offsetof_array_type) in BuildBuiltinOffsetOf()
11035 Comps.push_back(OffsetOfNode(OC.LocStart, Exprs.size(), OC.LocEnd)); in BuildBuiltinOffsetOf()
11044 Comps.push_back(OffsetOfNode(OC.LocStart, OC.U.IdentInfo, OC.LocEnd)); in BuildBuiltinOffsetOf()
11057 return ExprError(Diag(OC.LocEnd, diag::err_offsetof_record_type) in BuildBuiltinOffsetOf()
11077 << SourceRange(CompPtr[0].LocStart, OC.LocEnd) in BuildBuiltinOffsetOf()
11095 OC.LocEnd)); in BuildBuiltinOffsetOf()
11102 Diag(OC.LocEnd, diag::err_offsetof_bitfield) in BuildBuiltinOffsetOf()
11118 Diag(OC.LocEnd, diag::err_offsetof_field_of_virtual_base) in BuildBuiltinOffsetOf()
11134 cast<FieldDecl>(FI), OC.LocEnd)); in BuildBuiltinOffsetOf()
[all …]
HDTreeTransform.h7678 Comp.LocEnd = ON.getSourceRange().getEnd(); in TransformOffsetOfExpr()
/NextBSD/contrib/llvm/tools/clang/include/clang/Sema/
HDSema.h3918 SourceLocation LocStart, LocEnd; member