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

/external/clang/include/clang/Edit/
H A 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);
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 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...]
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...]
/external/clang/lib/Sema/
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
H A DSemaExprObjC.cpp2014 Builder.AddFixItHint(FixItHint::CreateInsertion(Edit.OrigLoc,
2020 FixItHint::CreateInsertionFromRange(Edit.OrigLoc,
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);
/external/clang/lib/Parse/
H A DParseObjc.cpp2918 SourceLocation OrigLoc = Tok.getLocation();
2952 if (Tok.getLocation() != OrigLoc) {
2959 OrigLoc))
2960 while (Tok.getLocation() != OrigLoc && Tok.isNot(tok::eof))
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/include/clang/Sema/
H A DSema.h5894 /// \param OrigLoc The template argument to expand.
5901 TemplateArgumentLoc OrigLoc,

Completed in 267 milliseconds