Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DComment.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 …]
DCommentSema.h91 SourceLocation LocEnd,
102 SourceLocation LocEnd,
120 SourceLocation LocEnd,
144 SourceLocation LocEnd,
148 SourceLocation LocEnd,
152 SourceLocation LocEnd,
180 SourceLocation LocEnd,
/external/clang/lib/CodeGen/
DCoverageMappingGen.cpp45 Optional<SourceLocation> LocEnd; member in __anon64017c7d0111::SourceMappingRegion
49 Optional<SourceLocation> LocEnd) in SourceMappingRegion() argument
50 : Count(Count), LocStart(LocStart), LocEnd(LocEnd) {} in SourceMappingRegion()
65 bool hasEndLoc() const { return LocEnd.hasValue(); } in hasEndLoc()
67 void setEndLoc(SourceLocation Loc) { LocEnd = Loc; } in setEndLoc()
70 assert(LocEnd && "Region has no end location"); in getEndLoc()
71 return *LocEnd; in getEndLoc()
228 auto LocEnd = I.getEnd(); in gatherSkippedRegions() local
229 assert(SM.isWrittenInSameFile(LocStart, LocEnd) && in gatherSkippedRegions()
237 unsigned LineEnd = SM.getSpellingLineNumber(LocEnd); in gatherSkippedRegions()
[all …]
/external/llvm/lib/MC/
DMCCodeView.cpp281 size_t LocEnd; in encodeInlineLineTable() local
282 std::tie(LocBegin, LocEnd) = getLineExtent(Frag.SiteFuncId); in encodeInlineLineTable()
286 LocEnd = std::max(LocEnd, Extent.second); in encodeInlineLineTable()
288 if (LocBegin >= LocEnd) in encodeInlineLineTable()
290 ArrayRef<MCCVLineEntry> Locs = getLinesForExtent(LocBegin, LocEnd); in encodeInlineLineTable()
366 ArrayRef<MCCVLineEntry> LocAfter = getLinesForExtent(LocEnd, LocEnd + 1); in encodeInlineLineTable()
/external/clang/lib/AST/
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()
283 SourceLocation LocEnd, in actOnTParamCommandStart() argument
287 new (Allocator) TParamCommandComment(LocBegin, LocEnd, CommandID, in actOnTParamCommandStart()
398 SourceLocation LocEnd, in actOnUnknownCommand() argument
401 return actOnUnknownCommand(LocBegin, LocEnd, CommandID); in actOnUnknownCommand()
405 SourceLocation LocEnd, in actOnUnknownCommand() argument
409 LocBegin, LocEnd, CommandID, in actOnUnknownCommand()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DMCCodeView.cpp457 size_t LocEnd; in encodeInlineLineTable() local
458 std::tie(LocBegin, LocEnd) = getLineExtent(Frag.SiteFuncId); in encodeInlineLineTable()
466 LocEnd = std::max(LocEnd, Extent.second); in encodeInlineLineTable()
469 if (LocBegin >= LocEnd) in encodeInlineLineTable()
471 ArrayRef<MCCVLineEntry> Locs = getLinesForExtent(LocBegin, LocEnd); in encodeInlineLineTable()
588 ArrayRef<MCCVLineEntry> LocAfter = getLinesForExtent(LocEnd, LocEnd + 1); in encodeInlineLineTable()
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.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()
1173 SourceLocation LocEnd = OMD->getCompoundBody()->getLocStart(); in RewriteImplementationDecl() local
1176 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1184 SourceLocation LocEnd = OMD->getCompoundBody()->getLocStart(); in RewriteImplementationDecl() local
1187 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
[all …]
DRewriteModernObjC.cpp1109 SourceLocation LocEnd = Method->getLocEnd(); in RewriteMethodDeclaration() local
1111 if (SM->getExpansionLineNumber(LocEnd) > in RewriteMethodDeclaration()
1114 ReplaceText(LocEnd, 1, ";\n#endif\n"); in RewriteMethodDeclaration()
1167 SourceLocation LocEnd = PDecl->getAtEndRange().getBegin(); in RewriteProtocolDecl() local
1168 ReplaceText(LocEnd, strlen("@end"), "/* @end */\n"); in RewriteProtocolDecl()
1172 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteProtocolDecl()
1351 SourceLocation LocEnd = OMD->getCompoundBody()->getLocStart(); in RewriteImplementationDecl() local
1354 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1362 SourceLocation LocEnd = OMD->getCompoundBody()->getLocStart(); in RewriteImplementationDecl() local
1365 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
[all …]
/external/clang/lib/Parse/
DParseExpr.cpp2002 Comps.back().LocStart = Comps.back().LocEnd = ConsumeToken(); in ParseBuiltinPrimaryExpression()
2018 Comps.back().LocEnd = ConsumeToken(); in ParseBuiltinPrimaryExpression()
2038 Comps.back().LocEnd = ST.getCloseLocation(); in ParseBuiltinPrimaryExpression()
/external/clang/lib/Sema/
DSemaExpr.cpp11726 << SourceRange(Components[1].LocStart, Components.back().LocEnd); in BuildBuiltinOffsetOf()
11738 return ExprError(Diag(OC.LocEnd, diag::err_offsetof_array_type) in BuildBuiltinOffsetOf()
11758 Comps.push_back(OffsetOfNode(OC.LocStart, Exprs.size(), OC.LocEnd)); in BuildBuiltinOffsetOf()
11767 Comps.push_back(OffsetOfNode(OC.LocStart, OC.U.IdentInfo, OC.LocEnd)); in BuildBuiltinOffsetOf()
11780 return ExprError(Diag(OC.LocEnd, diag::err_offsetof_record_type) in BuildBuiltinOffsetOf()
11800 << SourceRange(Components[0].LocStart, OC.LocEnd) in BuildBuiltinOffsetOf()
11818 OC.LocEnd)); in BuildBuiltinOffsetOf()
11825 Diag(OC.LocEnd, diag::err_offsetof_bitfield) in BuildBuiltinOffsetOf()
11842 Diag(OC.LocEnd, diag::err_offsetof_field_of_virtual_base) in BuildBuiltinOffsetOf()
11857 cast<FieldDecl>(FI), OC.LocEnd)); in BuildBuiltinOffsetOf()
[all …]
DTreeTransform.h8377 Comp.LocEnd = ON.getSourceRange().getEnd(); in TransformOffsetOfExpr()
/external/clang/include/clang/Sema/
DSema.h4080 SourceLocation LocStart, LocEnd; member