| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Comment.h | 204 SourceLocation LocEnd) : in Comment() argument 246 Comment(K, LocBegin, LocEnd) { in InlineContentComment() 271 SourceLocation LocEnd, in TextComment() argument 320 SourceLocation LocEnd, in InlineCommandComment() argument 376 SourceLocation LocEnd, in HTMLTagComment() argument 502 SourceLocation LocEnd, in HTMLEndTagComment() argument 505 LocBegin, LocEnd, in HTMLEndTagComment() 527 Comment(K, LocBegin, LocEnd) in BlockContentComment() 598 SourceLocation LocEnd, in BlockCommandComment() argument 610 SourceLocation LocEnd, in BlockCommandComment() argument [all …]
|
| H A D | CommentSema.h | 90 SourceLocation LocEnd, 101 SourceLocation LocEnd, 119 SourceLocation LocEnd, 137 SourceLocation LocEnd, 141 SourceLocation LocEnd, 145 SourceLocation LocEnd, 173 SourceLocation LocEnd,
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | SuspiciousSemicolonCheck.cpp | 55 SourceLocation LocEnd = Semicolon->getEndLoc(); in check() local 56 FileID FID = SM.getFileID(LocEnd); in check() 57 llvm::MemoryBufferRef Buffer = SM.getBufferOrFake(FID, LocEnd); in check() 59 Buffer.getBufferStart(), SM.getCharacterData(LocEnd) + 1, in check() 73 << FixItHint::CreateRemoval(SourceRange(LocStart, LocEnd)); in check()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CoverageMappingGen.cpp | 106 Optional<SourceLocation> LocEnd; member in __anon8934bc200211::SourceMappingRegion 115 : Count(Count), LocStart(LocStart), LocEnd(LocEnd), GapRegion(GapRegion) { in SourceMappingRegion() 122 LocEnd(LocEnd), GapRegion(GapRegion) {} in SourceMappingRegion() 146 LocEnd = Loc; in setEndLoc() 151 return *LocEnd; in getEndLoc() 176 SourceLocation LocEnd) { in SpellingRegion() 179 LineEnd = SM.getSpellingLineNumber(LocEnd); in SpellingRegion() 346 SpellingRegion SR{SM, LocStart, LocEnd}; in adjustSkippedRange() 381 auto LocEnd = Range.getEnd(); in gatherSkippedRegions() local 393 SR = {SM, LocStart, LocEnd}; in gatherSkippedRegions() [all …]
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | CommentSema.cpp | 52 SourceLocation LocEnd, in actOnBlockCommandStart() argument 82 SourceLocation LocEnd, in actOnParamCommandStart() argument 86 new (Allocator) ParamCommandComment(LocBegin, LocEnd, CommandID, in actOnParamCommandStart() 281 SourceLocation LocEnd, in actOnTParamCommandStart() argument 372 SourceLocation LocEnd, in actOnUnknownCommand() argument 375 return actOnUnknownCommand(LocBegin, LocEnd, CommandID); in actOnUnknownCommand() 383 LocBegin, LocEnd, CommandID, in actOnUnknownCommand() 389 SourceLocation LocEnd, in actOnText() argument 391 return new (Allocator) TextComment(LocBegin, LocEnd, Text); in actOnText() 451 SourceLocation LocEnd, in actOnHTMLEndTag() argument [all …]
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | MCCodeView.cpp | 465 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()
|
| /llvm-project-15.0.7/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 952 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 D | RewriteModernObjC.cpp | 1112 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() 1360 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl() 1373 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl() 3888 SourceLocation LocEnd = CDecl->getEndOfDefinitionLoc(); in RewriteObjCInternalStruct() local 3891 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteObjCInternalStruct() 4716 SourceLocation LocEnd = CE->getRParenLoc(); in RewriteCastExpr() local [all …]
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseExpr.cpp | 2590 Comps.back().LocStart = Comps.back().LocEnd = ConsumeToken(); in ParseBuiltinPrimaryExpression() 2606 Comps.back().LocEnd = ConsumeToken(); in ParseBuiltinPrimaryExpression() 2626 Comps.back().LocEnd = ST.getCloseLocation(); in ParseBuiltinPrimaryExpression()
|
| H A D | ParseExprCXX.cpp | 1146 SourceLocation LocEnd = PrevTokLocation; in ParseLambdaIntroducer() local 1149 InitCaptureType, SourceRange(LocStart, LocEnd)); in ParseLambdaIntroducer()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaExpr.cpp | 15973 return ExprError(Diag(OC.LocEnd, diag::err_offsetof_array_type) in BuildBuiltinOffsetOf() 15993 Comps.push_back(OffsetOfNode(OC.LocStart, Exprs.size(), OC.LocEnd)); in BuildBuiltinOffsetOf() 16002 Comps.push_back(OffsetOfNode(OC.LocStart, OC.U.IdentInfo, OC.LocEnd)); in BuildBuiltinOffsetOf() 16015 return ExprError(Diag(OC.LocEnd, diag::err_offsetof_record_type) in BuildBuiltinOffsetOf() 16035 << SourceRange(Components[0].LocStart, OC.LocEnd) in BuildBuiltinOffsetOf() 16053 OC.LocEnd)); in BuildBuiltinOffsetOf() 16060 Diag(OC.LocEnd, diag::err_offsetof_bitfield) in BuildBuiltinOffsetOf() 16077 Diag(OC.LocEnd, diag::err_offsetof_field_of_virtual_base) in BuildBuiltinOffsetOf() 16092 cast<FieldDecl>(FI), OC.LocEnd)); in BuildBuiltinOffsetOf() 16095 Comps.push_back(OffsetOfNode(OC.LocStart, MemberDecl, OC.LocEnd)); in BuildBuiltinOffsetOf()
|
| H A D | SemaTemplate.cpp | 2435 SourceLocation Loc, SourceLocation LocEnd, in buildDeductionGuide() 2444 TInfo->getType(), TInfo, LocEnd, Ctor);
|
| H A D | TreeTransform.h | 10730 Comp.LocEnd = ON.getSourceRange().getEnd(); in TransformOffsetOfExpr()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Sema.h | 5809 SourceLocation LocStart, LocEnd; member
|