Searched defs:OrigLoc (Results 1 - 7 of 7) sorted by path

/external/clang/include/clang/Edit/
H A DCommit.h36 SourceLocation OrigLoc; member in struct:clang::edit::Commit::Edit
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/
H A DTransARCAssign.cpp47 SourceLocation OrigLoc = E->getExprLoc(); local
48 SourceLocation Loc = OrigLoc;
/external/clang/lib/Edit/
H A DCommit.cpp177 void Commit::addInsert(SourceLocation OrigLoc, FileOffset Offs, StringRef text, argument
184 data.OrigLoc = OrigLoc;
191 void Commit::addInsertFromRange(SourceLocation OrigLoc, FileOffset Offs, argument
199 data.OrigLoc = OrigLoc;
207 void Commit::addRemove(SourceLocation OrigLoc, argument
214 data.OrigLoc = OrigLoc;
280 bool Commit::canInsertInOffset(SourceLocation OrigLoc, FileOffse argument
[all...]
H A DEditedSource.cpp31 bool EditedSource::canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs) { argument
38 if (SourceMgr.isMacroArgExpansion(OrigLoc)) {
40 DefArgLoc = SourceMgr.getImmediateExpansionRange(OrigLoc).first;
53 bool EditedSource::commitInsert(SourceLocation OrigLoc, argument
56 if (!canInsertInOffset(OrigLoc, Offs))
61 if (SourceMgr.isMacroArgExpansion(OrigLoc)) {
63 DefArgLoc = SourceMgr.getImmediateExpansionRange(OrigLoc).first;
83 bool EditedSource::commitInsertFromRange(SourceLocation OrigLoc, argument
138 return commitInsert(OrigLoc, Offs, StrVec.str(), beforePreviousInsertions);
141 void EditedSource::commitRemove(SourceLocation OrigLoc, argument
[all...]
/external/clang/lib/Parse/
H A DParseDecl.cpp1062 SourceLocation OrigLoc = Tok.getLocation(); local
1127 if (Tok.getLocation() != OrigLoc) {
1133 OrigLoc))
1134 while (Tok.getLocation() != OrigLoc && Tok.isNot(tok::eof))
/external/clang/lib/Sema/
H A DSemaExpr.cpp8489 SourceLocation OrigLoc = Loc; local
8538 if (Loc != OrigLoc)
8539 Assign = SourceRange(OrigLoc, OrigLoc);
8586 if (Loc != OrigLoc)
8587 Assign = SourceRange(OrigLoc, OrigLoc);
H A DSemaTemplateVariadic.cpp843 TemplateArgumentLoc OrigLoc,
845 const TemplateArgument &Argument = OrigLoc.getArgument();
851 TypeSourceInfo *ExpansionTSInfo = OrigLoc.getTypeSourceInfo();
883 Ellipsis = OrigLoc.getTemplateEllipsisLoc();
886 OrigLoc.getTemplateQualifierLoc(),
887 OrigLoc.getTemplateNameLoc());
842 getTemplateArgumentPackExpansionPattern( TemplateArgumentLoc OrigLoc, SourceLocation &Ellipsis, Optional<unsigned> &NumExpansions) const argument

Completed in 306 milliseconds