Home
last modified time | relevance | path

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

/src/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp121 std::optional<SourceLocation> LocStart; member in __anon015dba650211::SourceMappingRegion
135 SourceMappingRegion(Counter Count, std::optional<SourceLocation> LocStart, in SourceMappingRegion() argument
138 : Count(Count), LocStart(LocStart), LocEnd(LocEnd), GapRegion(GapRegion), in SourceMappingRegion()
143 std::optional<SourceLocation> LocStart, in SourceMappingRegion() argument
147 LocStart(LocStart), LocEnd(LocEnd), GapRegion(GapRegion), in SourceMappingRegion()
151 std::optional<SourceLocation> LocStart, in SourceMappingRegion() argument
153 : MCDCParams(MCDCParams), LocStart(LocStart), LocEnd(LocEnd), in SourceMappingRegion()
165 bool hasStartLoc() const { return LocStart.has_value(); } in hasStartLoc()
167 void setStartLoc(SourceLocation Loc) { LocStart = Loc; } in setStartLoc()
170 assert(LocStart && "Region has no start location"); in getBeginLoc()
[all …]
/src/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp732 SourceLocation LocStart = SM->getLocForStartOfFile(MainFileID); in RewriteInclude() local
749 LocStart.getLocWithOffset(BufPtr-MainBufStart); in RewriteInclude()
951 SourceLocation LocStart = Method->getBeginLoc(); in RewriteMethodDeclaration() local
955 SM->getExpansionLineNumber(LocStart)) { in RewriteMethodDeclaration()
956 InsertText(LocStart, "#if 0\n"); in RewriteMethodDeclaration()
959 InsertText(LocStart, "// "); in RewriteMethodDeclaration()
971 SourceLocation LocStart = CatDecl->getBeginLoc(); in RewriteCategoryDecl() local
974 ReplaceText(LocStart, 0, "// "); in RewriteCategoryDecl()
989 SourceLocation LocStart = PDecl->getBeginLoc(); in RewriteProtocolDecl() local
993 ReplaceText(LocStart, 0, "// "); in RewriteProtocolDecl()
[all …]
H A DRewriteModernObjC.cpp806 SourceLocation LocStart = SM->getLocForStartOfFile(MainFileID); in RewriteInclude() local
823 LocStart.getLocWithOffset(BufPtr-MainBufStart); in RewriteInclude()
1110 SourceLocation LocStart = Method->getBeginLoc(); in RewriteMethodDeclaration() local
1114 SM->getExpansionLineNumber(LocStart)) { in RewriteMethodDeclaration()
1115 InsertText(LocStart, "#if 0\n"); in RewriteMethodDeclaration()
1118 InsertText(LocStart, "// "); in RewriteMethodDeclaration()
1130 SourceLocation LocStart = CatDecl->getBeginLoc(); in RewriteCategoryDecl() local
1134 ReplaceText(LocStart, 1, "/** "); in RewriteCategoryDecl()
1138 ReplaceText(LocStart, 0, "// "); in RewriteCategoryDecl()
1155 SourceLocation LocStart = PDecl->getBeginLoc(); in RewriteProtocolDecl() local
[all …]
/src/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h507 SourceLocation LocStart; variable
511 : NamedDecl(Label, DC, IdentL, II), TheStmt(S), LocStart(StartL) {} in LabelDecl()
526 bool isGnuLocal() const { return LocStart != getLocation(); } in isGnuLocal()
527 void setLocStart(SourceLocation L) { LocStart = L; } in setLocStart()
530 return SourceRange(LocStart, getLocation()); in getSourceRange()
550 SourceLocation LocStart; variable
643 return SourceRange(LocStart, RBraceLoc); in getSourceRange()
646 SourceLocation getBeginLoc() const LLVM_READONLY { return LocStart; } in getBeginLoc()
648 void setLocStart(SourceLocation L) { LocStart = L; } in setLocStart()
3373 SourceLocation LocStart; variable
[all …]
/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeductionGuide.cpp200 ExplicitSpecifier ES, TypeSourceInfo *TInfo, SourceLocation LocStart, in buildDeductionGuide() argument
214 CXXDeductionGuideDecl::Create(SemaRef.Context, DC, LocStart, ES, Name,
H A DSemaExpr.cpp15760 Comps.push_back(OffsetOfNode(OC.LocStart, Exprs.size(), OC.LocEnd)); in BuildBuiltinOffsetOf()
15769 Comps.push_back(OffsetOfNode(OC.LocStart, OC.U.IdentInfo, OC.LocEnd)); in BuildBuiltinOffsetOf()
15775 if (RequireCompleteType(OC.LocStart, CurrentType, in BuildBuiltinOffsetOf()
15801 << SourceRange(Components[0].LocStart, OC.LocEnd) << CurrentType; in BuildBuiltinOffsetOf()
15807 LookupResult R(*this, OC.U.IdentInfo, OC.LocStart, LookupMemberName); in BuildBuiltinOffsetOf()
15822 << OC.U.IdentInfo << RD << SourceRange(OC.LocStart, OC.LocEnd); in BuildBuiltinOffsetOf()
15845 if (IsDerivedFrom(OC.LocStart, CurrentType, Context.getTypeDeclType(Parent), in BuildBuiltinOffsetOf()
15862 Comps.push_back(OffsetOfNode(OC.LocStart, in BuildBuiltinOffsetOf()
15866 Comps.push_back(OffsetOfNode(OC.LocStart, MemberDecl, OC.LocEnd)); in BuildBuiltinOffsetOf()
H A DSemaOpenMP.cpp719 void addTargetDirLocation(SourceLocation LocStart) { in addTargetDirLocation() argument
720 TargetLocations.push_back(LocStart); in addTargetDirLocation()
H A DTreeTransform.h11959 Comp.LocStart = ON.getSourceRange().getBegin(); in TransformOffsetOfExpr()
/src/contrib/llvm-project/clang/lib/Parse/
H A DParseExpr.cpp2779 Comps.back().LocStart = Comps.back().LocEnd = ConsumeToken(); in ParseBuiltinPrimaryExpression()
2787 Comps.back().LocStart = ConsumeToken(); in ParseBuiltinPrimaryExpression()
2805 Comps.back().LocStart = ST.getOpenLocation(); in ParseBuiltinPrimaryExpression()
H A DParseExprCXX.cpp994 SourceLocation LocStart = Tok.getLocation(); in ParseLambdaIntroducer() local
1225 InitCaptureType, SourceRange(LocStart, LocEnd)); in ParseLambdaIntroducer()
/src/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp3007 redeclarable_base(C), LocStart(StartLoc) { in NamespaceDecl()
/src/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp1833 D->LocStart = readSourceLocation(); in VisitNamespaceDecl()
/src/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h7074 SourceLocation LocStart, LocEnd; member