Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DComment.h199 SourceLocation LocEnd) : in Comment() argument
243 Comment(K, LocBegin, LocEnd) { in InlineContentComment()
268 SourceLocation LocEnd, in TextComment() argument
323 SourceLocation LocEnd, in InlineCommandComment() argument
379 SourceLocation LocEnd, in HTMLTagComment() argument
511 SourceLocation LocEnd, in HTMLEndTagComment() argument
514 LocBegin, LocEnd, in HTMLEndTagComment()
536 Comment(K, LocBegin, LocEnd) in BlockContentComment()
616 SourceLocation LocEnd, in BlockCommandComment() argument
628 SourceLocation LocEnd, in BlockCommandComment() argument
[all …]
H A DCommentSema.h91 SourceLocation LocEnd,
102 SourceLocation LocEnd,
120 SourceLocation LocEnd,
144 SourceLocation LocEnd,
148 SourceLocation LocEnd,
152 SourceLocation LocEnd,
180 SourceLocation LocEnd,
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp46 Optional<SourceLocation> LocEnd; member in __anonc2ccc9df0111::SourceMappingRegion
59 : Count(Count), LocStart(LocStart), LocEnd(LocEnd), in SourceMappingRegion()
79 LocEnd = Loc; in setEndLoc()
83 assert(LocEnd && "Region has no end location"); in getEndLoc()
84 return *LocEnd; in getEndLoc()
111 SourceLocation LocEnd) { in SpellingRegion()
114 LineEnd = SM.getSpellingLineNumber(LocEnd); in SpellingRegion()
290 auto LocEnd = I.getEnd(); in gatherSkippedRegions() local
297 SpellingRegion SR{SM, LocStart, LocEnd}; in gatherSkippedRegions()
338 SpellingRegion SR{SM, LocStart, LocEnd}; in emitSourceRegions()
[all …]
/freebsd-12.1/contrib/llvm/tools/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()
283 SourceLocation LocEnd, in actOnTParamCommandStart() argument
398 SourceLocation LocEnd, in actOnUnknownCommand() argument
401 return actOnUnknownCommand(LocBegin, LocEnd, CommandID); in actOnUnknownCommand()
409 LocBegin, LocEnd, CommandID, in actOnUnknownCommand()
415 SourceLocation LocEnd, in actOnText() argument
417 return new (Allocator) TextComment(LocBegin, LocEnd, Text); in actOnText()
477 SourceLocation LocEnd, in actOnHTMLEndTag() argument
[all …]
/freebsd-12.1/contrib/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()
597 ArrayRef<MCCVLoc> LocAfter = getLinesForExtent(LocEnd, LocEnd + 1); in encodeInlineLineTable()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp949 SourceLocation LocEnd = Method->getEndLoc(); in RewriteMethodDeclaration() local
951 if (SM->getExpansionLineNumber(LocEnd) > in RewriteMethodDeclaration()
954 ReplaceText(LocEnd, 1, ";\n#endif\n"); in RewriteMethodDeclaration()
1001 ReplaceText(LocEnd, strlen("@end"), "/* @end */"); in RewriteProtocolDecl()
1005 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteProtocolDecl()
1177 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1188 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
3099 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteObjCInternalStruct()
3200 InsertText(LocEnd.getLocWithOffset(1), ";"); in RewriteObjCInternalStruct()
3886 SourceLocation LocEnd = CE->getRParenLoc(); in RewriteCastExpr() local
[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()
1171 ReplaceText(LocEnd, strlen("@end"), "/* @end */\n"); in RewriteProtocolDecl()
1175 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteProtocolDecl()
1357 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1368 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
3890 SourceLocation LocEnd = CDecl->getEndOfDefinitionLoc(); in RewriteObjCInternalStruct() local
3893 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteObjCInternalStruct()
4722 SourceLocation LocEnd = CE->getRParenLoc(); in RewriteCastExpr() local
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp1982 SourceLocation LocEnd = Ex->getEndLoc(); in patternMatch() local
1983 if (LocStart.isMacroID() && LocEnd.isMacroID() && in patternMatch()
1991 StringRef EndName = Lexer::getImmediateMacroNameForDiagnostics(LocEnd, in patternMatch()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseExpr.cpp2138 Comps.back().LocStart = Comps.back().LocEnd = ConsumeToken(); in ParseBuiltinPrimaryExpression()
2154 Comps.back().LocEnd = ConsumeToken(); in ParseBuiltinPrimaryExpression()
2174 Comps.back().LocEnd = ST.getCloseLocation(); in ParseBuiltinPrimaryExpression()
H A DParseExprCXX.cpp987 SourceLocation LocEnd = PrevTokLocation; in ParseLambdaIntroducer() local
990 InitCaptureType, SourceRange(LocStart, LocEnd)); in ParseLambdaIntroducer()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExpr.cpp13328 return ExprError(Diag(OC.LocEnd, diag::err_offsetof_array_type) in BuildBuiltinOffsetOf()
13348 Comps.push_back(OffsetOfNode(OC.LocStart, Exprs.size(), OC.LocEnd)); in BuildBuiltinOffsetOf()
13357 Comps.push_back(OffsetOfNode(OC.LocStart, OC.U.IdentInfo, OC.LocEnd)); in BuildBuiltinOffsetOf()
13370 return ExprError(Diag(OC.LocEnd, diag::err_offsetof_record_type) in BuildBuiltinOffsetOf()
13390 << SourceRange(Components[0].LocStart, OC.LocEnd) in BuildBuiltinOffsetOf()
13408 OC.LocEnd)); in BuildBuiltinOffsetOf()
13415 Diag(OC.LocEnd, diag::err_offsetof_bitfield) in BuildBuiltinOffsetOf()
13432 Diag(OC.LocEnd, diag::err_offsetof_field_of_virtual_base) in BuildBuiltinOffsetOf()
13447 cast<FieldDecl>(FI), OC.LocEnd)); in BuildBuiltinOffsetOf()
13450 Comps.push_back(OffsetOfNode(OC.LocStart, MemberDecl, OC.LocEnd)); in BuildBuiltinOffsetOf()
H A DSemaTemplate.cpp1951 SourceLocation LocEnd) { in buildDeductionGuide()
1959 Name, TInfo->getType(), TInfo, LocEnd); in buildDeductionGuide()
H A DTreeTransform.h9164 Comp.LocEnd = ON.getSourceRange().getEnd(); in TransformOffsetOfExpr()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h4472 SourceLocation LocStart, LocEnd; member