/external/clang/lib/CodeGen/ |
D | CoverageMappingGen.cpp | 42 Optional<SourceLocation> LocStart; member in __anon2af6aa710111::SourceMappingRegion 48 SourceMappingRegion(Counter Count, Optional<SourceLocation> LocStart, in SourceMappingRegion() argument 50 : Count(Count), LocStart(LocStart), LocEnd(LocEnd) {} in SourceMappingRegion() 56 bool hasStartLoc() const { return LocStart.hasValue(); } in hasStartLoc() 58 void setStartLoc(SourceLocation Loc) { LocStart = Loc; } in setStartLoc() 61 assert(LocStart && "Region has no start location"); in getStartLoc() 62 return *LocStart; in getStartLoc() 227 auto LocStart = I.getBegin(); in gatherSkippedRegions() local 229 assert(SM.isWrittenInSameFile(LocStart, LocEnd) && in gatherSkippedRegions() 232 auto CovFileID = getCoverageFileID(LocStart); in gatherSkippedRegions() [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 | 802 SourceLocation LocStart = SM->getLocForStartOfFile(MainFileID); in RewriteInclude() local 819 LocStart.getLocWithOffset(BufPtr-MainBufStart); in RewriteInclude() 1108 SourceLocation LocStart = Method->getLocStart(); in RewriteMethodDeclaration() local 1112 SM->getExpansionLineNumber(LocStart)) { in RewriteMethodDeclaration() 1113 InsertText(LocStart, "#if 0\n"); in RewriteMethodDeclaration() 1116 InsertText(LocStart, "// "); in RewriteMethodDeclaration() 1128 SourceLocation LocStart = CatDecl->getLocStart(); in RewriteCategoryDecl() local 1132 ReplaceText(LocStart, 1, "/** "); in RewriteCategoryDecl() 1136 ReplaceText(LocStart, 0, "// "); in RewriteCategoryDecl() 1153 SourceLocation LocStart = PDecl->getLocStart(); in RewriteProtocolDecl() local [all …]
|
/external/clang/include/clang/AST/ |
D | Decl.h | 432 SourceLocation LocStart; variable 439 LocStart(StartL) {} in LabelDecl() 452 bool isGnuLocal() const { return LocStart != getLocation(); } in isGnuLocal() 453 void setLocStart(SourceLocation L) { LocStart = L; } in setLocStart() 456 return SourceRange(LocStart, getLocation()); in getSourceRange() 476 SourceLocation LocStart; variable 565 return SourceRange(LocStart, RBraceLoc); in getSourceRange() 568 SourceLocation getLocStart() const LLVM_READONLY { return LocStart; } in getLocStart() 570 void setLocStart(SourceLocation L) { LocStart = L; } in setLocStart() 2577 SourceLocation LocStart; variable [all …]
|
/external/clang/lib/Parse/ |
D | ParseExpr.cpp | 2002 Comps.back().LocStart = Comps.back().LocEnd = ConsumeToken(); in ParseBuiltinPrimaryExpression() 2010 Comps.back().LocStart = ConsumeToken(); in ParseBuiltinPrimaryExpression() 2029 Comps.back().LocStart = ST.getOpenLocation(); in ParseBuiltinPrimaryExpression()
|
/external/clang/lib/Sema/ |
D | SemaExpr.cpp | 11726 << SourceRange(Components[1].LocStart, Components.back().LocEnd); in BuildBuiltinOffsetOf() 11758 Comps.push_back(OffsetOfNode(OC.LocStart, Exprs.size(), OC.LocEnd)); in BuildBuiltinOffsetOf() 11767 Comps.push_back(OffsetOfNode(OC.LocStart, OC.U.IdentInfo, OC.LocEnd)); in BuildBuiltinOffsetOf() 11773 if (RequireCompleteType(OC.LocStart, CurrentType, in BuildBuiltinOffsetOf() 11800 << SourceRange(Components[0].LocStart, OC.LocEnd) in BuildBuiltinOffsetOf() 11806 LookupResult R(*this, OC.U.IdentInfo, OC.LocStart, LookupMemberName); in BuildBuiltinOffsetOf() 11817 << OC.U.IdentInfo << RD << SourceRange(OC.LocStart, in BuildBuiltinOffsetOf() 11839 if (IsDerivedFrom(OC.LocStart, CurrentType, Context.getTypeDeclType(Parent), in BuildBuiltinOffsetOf() 11856 Comps.push_back(OffsetOfNode(OC.LocStart, in BuildBuiltinOffsetOf() 11860 Comps.push_back(OffsetOfNode(OC.LocStart, MemberDecl, OC.LocEnd)); in BuildBuiltinOffsetOf()
|
D | SemaDeclCXX.cpp | 12421 FriendDecl *Sema::CheckFriendTypeDecl(SourceLocation LocStart, in CheckFriendTypeDecl() argument 12479 if (getLangOpts().CPlusPlus11 && LocStart != FriendLoc) in CheckFriendTypeDecl()
|
D | TreeTransform.h | 8376 Comp.LocStart = ON.getSourceRange().getBegin(); in TransformOffsetOfExpr()
|
/external/clang/lib/AST/ |
D | DeclCXX.cpp | 2063 redeclarable_base(C), LocStart(StartLoc), RBraceLoc(), in NamespaceDecl()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 4080 SourceLocation LocStart, LocEnd; member 5451 FriendDecl *CheckFriendTypeDecl(SourceLocation LocStart,
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 1364 D->LocStart = ReadSourceLocation(Record, Idx); in VisitNamespaceDecl()
|