/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CoverageMappingGen.cpp | 49 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 D | RewriteObjC.cpp | 731 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 D | RewriteModernObjC.cpp | 805 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 D | Decl.h | 459 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 D | ParseExpr.cpp | 2570 Comps.back().LocStart = Comps.back().LocEnd = ConsumeToken(); 2578 Comps.back().LocStart = ConsumeToken(); 2597 Comps.back().LocStart = ST.getOpenLocation();
|
H A D | ParseExprCXX.cpp | 914 SourceLocation LocStart = Tok.getLocation(); local 1136 InitCaptureType, SourceRange(LocStart, LocEnd));
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaExpr.cpp | 14793 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 D | SemaTemplate.cpp | 2290 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 D | SemaDeclCXX.cpp | 16046 FriendDecl *Sema::CheckFriendTypeDecl(SourceLocation LocStart, 16104 if (getLangOpts().CPlusPlus11 && LocStart != FriendLoc)
|
H A D | SemaOpenMP.cpp | 657 void addTargetDirLocation(SourceLocation LocStart) { 658 TargetLocations.push_back(LocStart);
|
H A D | TreeTransform.h | 10129 Comp.LocStart = ON.getSourceRange().getBegin();
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclCXX.cpp | 2803 redeclarable_base(C), LocStart(StartLoc),
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 5186 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 D | ASTReaderDecl.cpp | 1586 D->LocStart = readSourceLocation();
|