Home
last modified time | relevance | path

Searched refs:LocStart (Results 1 – 9 of 9) sorted by relevance

/external/clang/lib/Rewrite/
DRewriteObjC.cpp727 SourceLocation LocStart = SM->getLocForStartOfFile(MainFileID); in RewriteInclude() local
744 LocStart.getLocWithOffset(BufPtr-MainBufStart); in RewriteInclude()
943 SourceLocation LocStart = Method->getLocStart(); in RewriteMethodDeclaration() local
947 SM->getExpansionLineNumber(LocStart)) { in RewriteMethodDeclaration()
948 InsertText(LocStart, "#if 0\n"); in RewriteMethodDeclaration()
951 InsertText(LocStart, "// "); in RewriteMethodDeclaration()
963 SourceLocation LocStart = CatDecl->getLocStart(); in RewriteCategoryDecl() local
966 ReplaceText(LocStart, 0, "// "); in RewriteCategoryDecl()
987 SourceLocation LocStart = PDecl->getLocStart(); in RewriteProtocolDecl() local
991 ReplaceText(LocStart, 0, "// "); in RewriteProtocolDecl()
[all …]
DRewriteModernObjC.cpp745 SourceLocation LocStart = SM->getLocForStartOfFile(MainFileID); in RewriteInclude() local
762 LocStart.getLocWithOffset(BufPtr-MainBufStart); in RewriteInclude()
964 SourceLocation LocStart = Method->getLocStart(); in RewriteMethodDeclaration() local
968 SM->getExpansionLineNumber(LocStart)) { in RewriteMethodDeclaration()
969 InsertText(LocStart, "#if 0\n"); in RewriteMethodDeclaration()
972 InsertText(LocStart, "// "); in RewriteMethodDeclaration()
984 SourceLocation LocStart = CatDecl->getLocStart(); in RewriteCategoryDecl() local
987 ReplaceText(LocStart, 0, "// "); in RewriteCategoryDecl()
993 SourceLocation LocStart = Ivar->getLocStart(); in RewriteCategoryDecl() local
994 ReplaceText(LocStart, 0, "// "); in RewriteCategoryDecl()
[all …]
/external/clang/include/clang/AST/
DDecl.h362 SourceLocation LocStart; variable
366 : NamedDecl(Label, DC, IdentL, II), TheStmt(S), 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()
400 SourceLocation LocStart; variable
504 return SourceRange(LocStart, RBraceLoc); in getSourceRange()
507 SourceLocation getLocStart() const LLVM_READONLY { return LocStart; } in getLocStart()
509 void setLocStart(SourceLocation L) { LocStart = L; } in setLocStart()
2300 SourceLocation LocStart; variable
[all …]
/external/clang/lib/Parse/
DParseExpr.cpp1745 Comps.back().LocStart = Comps.back().LocEnd = ConsumeToken(); in ParseBuiltinPrimaryExpression()
1753 Comps.back().LocStart = ConsumeToken(); in ParseBuiltinPrimaryExpression()
1772 Comps.back().LocStart = ST.getOpenLocation(); in ParseBuiltinPrimaryExpression()
/external/clang/lib/Sema/
DSemaExpr.cpp8682 << SourceRange(CompPtr[1].LocStart, CompPtr[NumComponents-1].LocEnd); in BuildBuiltinOffsetOf()
8716 Comps.push_back(OffsetOfNode(OC.LocStart, Exprs.size(), OC.LocEnd)); in BuildBuiltinOffsetOf()
8725 Comps.push_back(OffsetOfNode(OC.LocStart, OC.U.IdentInfo, OC.LocEnd)); in BuildBuiltinOffsetOf()
8731 if (RequireCompleteType(OC.LocStart, CurrentType, in BuildBuiltinOffsetOf()
8750 << SourceRange(CompPtr[0].LocStart, OC.LocEnd) in BuildBuiltinOffsetOf()
8756 LookupResult R(*this, OC.U.IdentInfo, OC.LocStart, LookupMemberName); in BuildBuiltinOffsetOf()
8767 << OC.U.IdentInfo << RD << SourceRange(OC.LocStart, in BuildBuiltinOffsetOf()
8802 Comps.push_back(OffsetOfNode(OC.LocStart, in BuildBuiltinOffsetOf()
8806 Comps.push_back(OffsetOfNode(OC.LocStart, MemberDecl, OC.LocEnd)); in BuildBuiltinOffsetOf()
DTreeTransform.h6239 Comp.LocStart = ON.getSourceRange().getBegin(); in TransformOffsetOfExpr()
/external/clang/lib/AST/
DDeclCXX.cpp1840 LocStart(StartLoc), RBraceLoc(), AnonOrFirstNamespaceAndInline(0, Inline) in NamespaceDecl()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp997 D->LocStart = ReadSourceLocation(Record, Idx); in VisitNamespaceDecl()
/external/clang/include/clang/Sema/
DSema.h2839 SourceLocation LocStart, LocEnd; member