/external/clang/lib/CodeGen/ |
D | CoverageMappingGen.cpp | 40 Optional<SourceLocation> LocStart; member in __anon229160920111::SourceMappingRegion 46 SourceMappingRegion(Counter Count, Optional<SourceLocation> LocStart, in SourceMappingRegion() argument 48 : Count(Count), LocStart(LocStart), LocEnd(LocEnd) {} in SourceMappingRegion() 51 : Count(std::move(Region.Count)), LocStart(std::move(Region.LocStart)), in SourceMappingRegion() 56 LocStart = std::move(RHS.LocStart); in operator =() 65 bool hasStartLoc() const { return LocStart.hasValue(); } in hasStartLoc() 67 void setStartLoc(SourceLocation Loc) { LocStart = Loc; } in setStartLoc() 70 assert(LocStart && "Region has no start location"); in getStartLoc() 71 return *LocStart; in getStartLoc() 224 auto LocStart = I.getBegin(); in gatherSkippedRegions() local [all …]
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 731 SourceLocation LocStart = SM->getLocForStartOfFile(MainFileID); in RewriteInclude() local 748 LocStart.getLocWithOffset(BufPtr-MainBufStart); in RewriteInclude() 947 SourceLocation LocStart = Method->getLocStart(); in RewriteMethodDeclaration() local 951 SM->getExpansionLineNumber(LocStart)) { in RewriteMethodDeclaration() 952 InsertText(LocStart, "#if 0\n"); in RewriteMethodDeclaration() 955 InsertText(LocStart, "// "); in RewriteMethodDeclaration() 967 SourceLocation LocStart = CatDecl->getLocStart(); in RewriteCategoryDecl() local 970 ReplaceText(LocStart, 0, "// "); in RewriteCategoryDecl() 985 SourceLocation LocStart = PDecl->getLocStart(); in RewriteProtocolDecl() local 989 ReplaceText(LocStart, 0, "// "); in RewriteProtocolDecl() [all …]
|
D | RewriteModernObjC.cpp | 812 SourceLocation LocStart = SM->getLocForStartOfFile(MainFileID); in RewriteInclude() local 829 LocStart.getLocWithOffset(BufPtr-MainBufStart); in RewriteInclude() 1119 SourceLocation LocStart = Method->getLocStart(); in RewriteMethodDeclaration() local 1123 SM->getExpansionLineNumber(LocStart)) { in RewriteMethodDeclaration() 1124 InsertText(LocStart, "#if 0\n"); in RewriteMethodDeclaration() 1127 InsertText(LocStart, "// "); in RewriteMethodDeclaration() 1139 SourceLocation LocStart = CatDecl->getLocStart(); in RewriteCategoryDecl() local 1143 ReplaceText(LocStart, 1, "/** "); in RewriteCategoryDecl() 1147 ReplaceText(LocStart, 0, "// "); in RewriteCategoryDecl() 1164 SourceLocation LocStart = PDecl->getLocStart(); in RewriteProtocolDecl() local [all …]
|
/external/clang/include/clang/AST/ |
D | Decl.h | 359 SourceLocation LocStart; variable 366 LocStart(StartL) {} in LabelDecl() 379 bool isGnuLocal() const { return LocStart != getLocation(); } in isGnuLocal() 380 void setLocStart(SourceLocation L) { LocStart = L; } in setLocStart() 383 return SourceRange(LocStart, getLocation()); in getSourceRange() 403 SourceLocation LocStart; variable 502 return SourceRange(LocStart, RBraceLoc); in getSourceRange() 505 SourceLocation getLocStart() const LLVM_READONLY { return LocStart; } in getLocStart() 507 void setLocStart(SourceLocation L) { LocStart = L; } in setLocStart() 2501 SourceLocation LocStart; variable [all …]
|
/external/clang/lib/Parse/ |
D | ParseExpr.cpp | 1879 Comps.back().LocStart = Comps.back().LocEnd = ConsumeToken(); in ParseBuiltinPrimaryExpression() 1887 Comps.back().LocStart = ConsumeToken(); in ParseBuiltinPrimaryExpression() 1906 Comps.back().LocStart = ST.getOpenLocation(); in ParseBuiltinPrimaryExpression()
|
/external/clang/lib/Sema/ |
D | SemaExpr.cpp | 10895 << SourceRange(CompPtr[1].LocStart, CompPtr[NumComponents-1].LocEnd); in BuildBuiltinOffsetOf() 10929 Comps.push_back(OffsetOfNode(OC.LocStart, Exprs.size(), OC.LocEnd)); in BuildBuiltinOffsetOf() 10938 Comps.push_back(OffsetOfNode(OC.LocStart, OC.U.IdentInfo, OC.LocEnd)); in BuildBuiltinOffsetOf() 10944 if (RequireCompleteType(OC.LocStart, CurrentType, in BuildBuiltinOffsetOf() 10971 << SourceRange(CompPtr[0].LocStart, OC.LocEnd) in BuildBuiltinOffsetOf() 10977 LookupResult R(*this, OC.U.IdentInfo, OC.LocStart, LookupMemberName); in BuildBuiltinOffsetOf() 10988 << OC.U.IdentInfo << RD << SourceRange(OC.LocStart, in BuildBuiltinOffsetOf() 11027 Comps.push_back(OffsetOfNode(OC.LocStart, in BuildBuiltinOffsetOf() 11031 Comps.push_back(OffsetOfNode(OC.LocStart, MemberDecl, OC.LocEnd)); in BuildBuiltinOffsetOf()
|
D | SemaDeclCXX.cpp | 12139 FriendDecl *Sema::CheckFriendTypeDecl(SourceLocation LocStart, in CheckFriendTypeDecl() argument 12197 if (getLangOpts().CPlusPlus11 && LocStart != FriendLoc) in CheckFriendTypeDecl()
|
D | TreeTransform.h | 7444 Comp.LocStart = ON.getSourceRange().getBegin(); in TransformOffsetOfExpr()
|
/external/clang/lib/AST/ |
D | DeclCXX.cpp | 1983 redeclarable_base(C), LocStart(StartLoc), RBraceLoc(), in NamespaceDecl()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 3737 SourceLocation LocStart, LocEnd; member 5060 FriendDecl *CheckFriendTypeDecl(SourceLocation LocStart,
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 1207 D->LocStart = ReadSourceLocation(Record, Idx); in VisitNamespaceDecl()
|