Searched refs:LocStart (Results 1 - 14 of 14) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp49 Optional<SourceLocation> LocStart; member in class:__anon1810::SourceMappingRegion
62 SourceMappingRegion(Counter Count, Optional<SourceLocation> LocStart, argument
65 : Count(Count), LocStart(LocStart), LocEnd(LocEnd),
72 bool hasStartLoc() const { return LocStart.hasValue(); }
74 void setStartLoc(SourceLocation Loc) { LocStart = Loc; }
77 assert(LocStart && "Region has no start location");
78 return *LocStart;
116 SpellingRegion(SourceManager &SM, SourceLocation LocStart, argument
118 LineStart = SM.getSpellingLineNumber(LocStart);
295 auto LocStart = I.getBegin(); local
320 SourceLocation LocStart = Region.getBeginLoc(); local
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp731 SourceLocation LocStart = SM->getLocForStartOfFile(MainFileID); local
748 LocStart.getLocWithOffset(BufPtr-MainBufStart);
950 SourceLocation LocStart = Method->getBeginLoc();
954 SM->getExpansionLineNumber(LocStart)) {
955 InsertText(LocStart, "#if 0\n");
958 InsertText(LocStart, "// ");
970 SourceLocation LocStart = CatDecl->getBeginLoc(); local
973 ReplaceText(LocStart, 0, "// ");
988 SourceLocation LocStart = PDecl->getBeginLoc(); local
992 ReplaceText(LocStart,
1023 SourceLocation LocStart = (*D.begin())->getBeginLoc(); local
1032 SourceLocation LocStart = DG[0]->getBeginLoc(); local
1178 SourceLocation LocStart = OMD->getBeginLoc(); local
1191 SourceLocation LocStart = OMD->getBeginLoc(); local
3103 SourceLocation LocStart = CDecl->getBeginLoc(); local
3891 SourceLocation LocStart = CE->getLParenLoc(); local
[all...]
H A DRewriteModernObjC.cpp805 SourceLocation LocStart = SM->getLocForStartOfFile(MainFileID); local
822 LocStart.getLocWithOffset(BufPtr-MainBufStart);
1109 SourceLocation LocStart = Method->getBeginLoc();
1113 SM->getExpansionLineNumber(LocStart)) {
1114 InsertText(LocStart, "#if 0\n");
1117 InsertText(LocStart, "// ");
1129 SourceLocation LocStart = CatDecl->getBeginLoc(); local
1133 ReplaceText(LocStart, 1, "/** ");
1137 ReplaceText(LocStart, 0, "// ");
1154 SourceLocation LocStart local
1189 SourceLocation LocStart = (*D.begin())->getBeginLoc(); local
1198 SourceLocation LocStart = DG[0]->getBeginLoc(); local
1354 SourceLocation LocStart = OMD->getBeginLoc(); local
1367 SourceLocation LocStart = OMD->getBeginLoc(); local
3891 SourceLocation LocStart = CDecl->getBeginLoc(); local
4720 SourceLocation LocStart = CE->getLParenLoc(); local
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h459 SourceLocation LocStart; member in class:clang::LabelDecl
463 : NamedDecl(Label, DC, IdentL, II), TheStmt(S), LocStart(StartL) {}
478 bool isGnuLocal() const { return LocStart != getLocation(); }
479 void setLocStart(SourceLocation L) { LocStart = L; }
482 return SourceRange(LocStart, getLocation());
502 SourceLocation LocStart; member in class:clang::NamespaceDecl
597 return SourceRange(LocStart, RBraceLoc);
600 SourceLocation getBeginLoc() const LLVM_READONLY { return LocStart; }
602 void setLocStart(SourceLocation L) { LocStart = L; }
3059 SourceLocation LocStart;
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseExpr.cpp2570 Comps.back().LocStart = Comps.back().LocEnd = ConsumeToken();
2578 Comps.back().LocStart = ConsumeToken();
2597 Comps.back().LocStart = ST.getOpenLocation();
H A DParseExprCXX.cpp914 SourceLocation LocStart = Tok.getLocation(); local
1136 InitCaptureType, SourceRange(LocStart, LocEnd));
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp14793 Comps.push_back(OffsetOfNode(OC.LocStart, Exprs.size(), OC.LocEnd));
14802 Comps.push_back(OffsetOfNode(OC.LocStart, OC.U.IdentInfo, OC.LocEnd));
14808 if (RequireCompleteType(OC.LocStart, CurrentType,
14835 << SourceRange(Components[0].LocStart, OC.LocEnd)
14841 LookupResult R(*this, OC.U.IdentInfo, OC.LocStart, LookupMemberName);
14852 << OC.U.IdentInfo << RD << SourceRange(OC.LocStart,
14874 if (IsDerivedFrom(OC.LocStart, CurrentType, Context.getTypeDeclType(Parent),
14891 Comps.push_back(OffsetOfNode(OC.LocStart,
14895 Comps.push_back(OffsetOfNode(OC.LocStart, MemberDecl, OC.LocEnd));
H A DSemaTemplate.cpp2290 TypeSourceInfo *TInfo, SourceLocation LocStart, SourceLocation Loc,
2299 CXXDeductionGuideDecl::Create(SemaRef.Context, DC, LocStart, ES, Name,
2288 buildDeductionGuide( TemplateParameterList *TemplateParams, ExplicitSpecifier ES, TypeSourceInfo *TInfo, SourceLocation LocStart, SourceLocation Loc, SourceLocation LocEnd, llvm::ArrayRef<TypedefNameDecl *> MaterializedTypedefs = {}) argument
H A DSemaDeclCXX.cpp16046 FriendDecl *Sema::CheckFriendTypeDecl(SourceLocation LocStart,
16104 if (getLangOpts().CPlusPlus11 && LocStart != FriendLoc)
H A DSemaOpenMP.cpp657 void addTargetDirLocation(SourceLocation LocStart) {
658 TargetLocations.push_back(LocStart);
H A DTreeTransform.h10129 Comp.LocStart = ON.getSourceRange().getBegin();
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp2803 redeclarable_base(C), LocStart(StartLoc),
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h5186 SourceLocation LocStart, LocEnd; member in struct:clang::final::CompleteTypeKind::OffsetOfComponent
6871 FriendDecl *CheckFriendTypeDecl(SourceLocation LocStart,
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp1586 D->LocStart = readSourceLocation();

Completed in 530 milliseconds