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

/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp42 Optional<SourceLocation> LocStart; member in class:__anon436::SourceMappingRegion
55 SourceMappingRegion(Counter Count, Optional<SourceLocation> LocStart, argument
58 : Count(Count), LocStart(LocStart), LocEnd(LocEnd),
65 bool hasStartLoc() const { return LocStart.hasValue(); }
67 void setStartLoc(SourceLocation Loc) { LocStart = Loc; }
70 assert(LocStart && "Region has no start location");
71 return *LocStart;
109 SpellingRegion(SourceManager &SM, SourceLocation LocStart, argument
111 LineStart = SM.getSpellingLineNumber(LocStart);
288 auto LocStart = I.getBegin(); local
313 SourceLocation LocStart = Region.getBeginLoc(); local
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp731 SourceLocation LocStart = SM->getLocForStartOfFile(MainFileID); local
748 LocStart.getLocWithOffset(BufPtr-MainBufStart);
949 SourceLocation LocStart = Method->getBeginLoc();
953 SM->getExpansionLineNumber(LocStart)) {
954 InsertText(LocStart, "#if 0\n");
957 InsertText(LocStart, "// ");
969 SourceLocation LocStart = CatDecl->getBeginLoc(); local
972 ReplaceText(LocStart, 0, "// ");
987 SourceLocation LocStart = PDecl->getBeginLoc(); local
991 ReplaceText(LocStart,
1022 SourceLocation LocStart = (*D.begin())->getBeginLoc(); local
1031 SourceLocation LocStart = DG[0]->getBeginLoc(); local
1177 SourceLocation LocStart = OMD->getBeginLoc(); local
1190 SourceLocation LocStart = OMD->getBeginLoc(); local
3101 SourceLocation LocStart = CDecl->getBeginLoc(); local
3889 SourceLocation LocStart = CE->getLParenLoc(); local
[all...]
H A DRewriteModernObjC.cpp805 SourceLocation LocStart = SM->getLocForStartOfFile(MainFileID); local
822 LocStart.getLocWithOffset(BufPtr-MainBufStart);
1108 SourceLocation LocStart = Method->getBeginLoc();
1112 SM->getExpansionLineNumber(LocStart)) {
1113 InsertText(LocStart, "#if 0\n");
1116 InsertText(LocStart, "// ");
1128 SourceLocation LocStart = CatDecl->getBeginLoc(); local
1132 ReplaceText(LocStart, 1, "/** ");
1136 ReplaceText(LocStart, 0, "// ");
1153 SourceLocation LocStart local
1188 SourceLocation LocStart = (*D.begin())->getBeginLoc(); local
1197 SourceLocation LocStart = DG[0]->getBeginLoc(); local
1353 SourceLocation LocStart = OMD->getBeginLoc(); local
1366 SourceLocation LocStart = OMD->getBeginLoc(); local
3889 SourceLocation LocStart = CDecl->getBeginLoc(); local
4718 SourceLocation LocStart = CE->getLParenLoc(); local
[all...]
/freebsd-11-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; }
3039 SourceLocation LocStart;
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseExpr.cpp2381 Comps.back().LocStart = Comps.back().LocEnd = ConsumeToken();
2389 Comps.back().LocStart = ConsumeToken();
2408 Comps.back().LocStart = ST.getOpenLocation();
H A DParseExprCXX.cpp912 SourceLocation LocStart = Tok.getLocation(); local
1134 InitCaptureType, SourceRange(LocStart, LocEnd));
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp14038 Comps.push_back(OffsetOfNode(OC.LocStart, Exprs.size(), OC.LocEnd));
14047 Comps.push_back(OffsetOfNode(OC.LocStart, OC.U.IdentInfo, OC.LocEnd));
14053 if (RequireCompleteType(OC.LocStart, CurrentType,
14080 << SourceRange(Components[0].LocStart, OC.LocEnd)
14086 LookupResult R(*this, OC.U.IdentInfo, OC.LocStart, LookupMemberName);
14097 << OC.U.IdentInfo << RD << SourceRange(OC.LocStart,
14119 if (IsDerivedFrom(OC.LocStart, CurrentType, Context.getTypeDeclType(Parent),
14136 Comps.push_back(OffsetOfNode(OC.LocStart,
14140 Comps.push_back(OffsetOfNode(OC.LocStart, MemberDecl, OC.LocEnd));
H A DSemaTemplate.cpp2248 SourceLocation LocStart, SourceLocation Loc,
2256 CXXDeductionGuideDecl::Create(SemaRef.Context, DC, LocStart, ES, Name,
2246 buildDeductionGuide(TemplateParameterList *TemplateParams, ExplicitSpecifier ES, TypeSourceInfo *TInfo, SourceLocation LocStart, SourceLocation Loc, SourceLocation LocEnd) argument
H A DSemaDeclCXX.cpp15711 FriendDecl *Sema::CheckFriendTypeDecl(SourceLocation LocStart,
15769 if (getLangOpts().CPlusPlus11 && LocStart != FriendLoc)
H A DSemaOpenMP.cpp586 void addTargetDirLocation(SourceLocation LocStart) {
587 TargetLocations.push_back(LocStart);
H A DTreeTransform.h9627 Comp.LocStart = ON.getSourceRange().getBegin();
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp2763 redeclarable_base(C), LocStart(StartLoc),
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h4964 SourceLocation LocStart, LocEnd; member in struct:clang::final::OffsetOfComponent
6632 FriendDecl *CheckFriendTypeDecl(SourceLocation LocStart,
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp1565 D->LocStart = readSourceLocation();

Completed in 595 milliseconds