Home
last modified time | relevance | path

Searched refs:OrigLoc (Results 1 – 11 of 11) sorted by relevance

/external/clang/lib/Edit/
DEditedSource.cpp31 bool EditedSource::canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs) { in canInsertInOffset() argument
38 if (SourceMgr.isMacroArgExpansion(OrigLoc)) { in canInsertInOffset()
40 DefArgLoc = SourceMgr.getImmediateExpansionRange(OrigLoc).first; in canInsertInOffset()
53 bool EditedSource::commitInsert(SourceLocation OrigLoc, in commitInsert() argument
56 if (!canInsertInOffset(OrigLoc, Offs)) in commitInsert()
61 if (SourceMgr.isMacroArgExpansion(OrigLoc)) { in commitInsert()
63 DefArgLoc = SourceMgr.getImmediateExpansionRange(OrigLoc).first; in commitInsert()
83 bool EditedSource::commitInsertFromRange(SourceLocation OrigLoc, in commitInsertFromRange() argument
138 return commitInsert(OrigLoc, Offs, StrVec.str(), beforePreviousInsertions); in commitInsertFromRange()
141 void EditedSource::commitRemove(SourceLocation OrigLoc, in commitRemove() argument
[all …]
DCommit.cpp177 void Commit::addInsert(SourceLocation OrigLoc, FileOffset Offs, StringRef text, in addInsert() argument
184 data.OrigLoc = OrigLoc; in addInsert()
191 void Commit::addInsertFromRange(SourceLocation OrigLoc, FileOffset Offs, in addInsertFromRange() argument
199 data.OrigLoc = OrigLoc; in addInsertFromRange()
207 void Commit::addRemove(SourceLocation OrigLoc, in addRemove() argument
214 data.OrigLoc = OrigLoc; in addRemove()
280 bool Commit::canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs) { in canInsertInOffset() argument
292 return Editor->canInsertInOffset(OrigLoc, Offs); in canInsertInOffset()
/external/clang/include/clang/Edit/
DEditedSource.h58 bool canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs);
73 bool commitInsert(SourceLocation OrigLoc, FileOffset Offs, StringRef text,
75 bool commitInsertFromRange(SourceLocation OrigLoc, FileOffset Offs,
78 void commitRemove(SourceLocation OrigLoc, FileOffset BeginOffs, unsigned Len);
DCommit.h36 SourceLocation OrigLoc; member
114 void addInsert(SourceLocation OrigLoc,
116 void addInsertFromRange(SourceLocation OrigLoc, FileOffset Offs,
119 void addRemove(SourceLocation OrigLoc, FileOffset Offs, unsigned Len);
124 bool canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs);
/external/clang/lib/ARCMigrate/
DTransARCAssign.cpp47 SourceLocation OrigLoc = E->getExprLoc(); in VisitBinaryOperator() local
48 SourceLocation Loc = OrigLoc; in VisitBinaryOperator()
/external/clang/lib/Sema/
DSemaTemplateVariadic.cpp843 TemplateArgumentLoc OrigLoc, in getTemplateArgumentPackExpansionPattern() argument
845 const TemplateArgument &Argument = OrigLoc.getArgument(); in getTemplateArgumentPackExpansionPattern()
851 TypeSourceInfo *ExpansionTSInfo = OrigLoc.getTypeSourceInfo(); in getTemplateArgumentPackExpansionPattern()
883 Ellipsis = OrigLoc.getTemplateEllipsisLoc(); in getTemplateArgumentPackExpansionPattern()
886 OrigLoc.getTemplateQualifierLoc(), in getTemplateArgumentPackExpansionPattern()
887 OrigLoc.getTemplateNameLoc()); in getTemplateArgumentPackExpansionPattern()
DSemaExpr.cpp8489 SourceLocation OrigLoc = Loc; in CheckForModifiableLvalue() local
8538 if (Loc != OrigLoc) in CheckForModifiableLvalue()
8539 Assign = SourceRange(OrigLoc, OrigLoc); in CheckForModifiableLvalue()
8586 if (Loc != OrigLoc) in CheckForModifiableLvalue()
8587 Assign = SourceRange(OrigLoc, OrigLoc); in CheckForModifiableLvalue()
DSemaExprObjC.cpp2014 Builder.AddFixItHint(FixItHint::CreateInsertion(Edit.OrigLoc, in applyCocoaAPICheck()
2020 FixItHint::CreateInsertionFromRange(Edit.OrigLoc, in applyCocoaAPICheck()
/external/clang/lib/Parse/
DParseObjc.cpp2918 SourceLocation OrigLoc = Tok.getLocation(); in ParseLexedObjCMethodDefs() local
2952 if (Tok.getLocation() != OrigLoc) { in ParseLexedObjCMethodDefs()
2959 OrigLoc)) in ParseLexedObjCMethodDefs()
2960 while (Tok.getLocation() != OrigLoc && Tok.isNot(tok::eof)) in ParseLexedObjCMethodDefs()
DParseDecl.cpp1062 SourceLocation OrigLoc = Tok.getLocation(); in ParseLexedAttribute() local
1127 if (Tok.getLocation() != OrigLoc) { in ParseLexedAttribute()
1133 OrigLoc)) in ParseLexedAttribute()
1134 while (Tok.getLocation() != OrigLoc && Tok.isNot(tok::eof)) in ParseLexedAttribute()
/external/clang/include/clang/Sema/
DSema.h5901 TemplateArgumentLoc OrigLoc,