Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Edit/
H A DCommit.cpp183 void Commit::addInsert(SourceLocation OrigLoc, FileOffset Offs, StringRef text, in addInsert() argument
190 data.OrigLoc = OrigLoc; in addInsert()
197 void Commit::addInsertFromRange(SourceLocation OrigLoc, FileOffset Offs, in addInsertFromRange() argument
205 data.OrigLoc = OrigLoc; in addInsertFromRange()
213 void Commit::addRemove(SourceLocation OrigLoc, in addRemove() argument
220 data.OrigLoc = OrigLoc; in addRemove()
284 bool Commit::canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs) { in canInsertInOffset() argument
294 return Editor->canInsertInOffset(OrigLoc, Offs); in canInsertInOffset()
H A DEditedSource.cpp82 if (SourceMgr.isMacroArgExpansion(OrigLoc)) { in canInsertInOffset()
85 deconstructMacroArgLoc(OrigLoc, ExpLoc, ArgUse); in canInsertInOffset()
112 bool EditedSource::commitInsert(SourceLocation OrigLoc, in commitInsert() argument
115 if (!canInsertInOffset(OrigLoc, Offs)) in commitInsert()
120 if (SourceMgr.isMacroArgExpansion(OrigLoc)) { in commitInsert()
123 deconstructMacroArgLoc(OrigLoc, ExpLoc, ArgUse); in commitInsert()
142 bool EditedSource::commitInsertFromRange(SourceLocation OrigLoc, in commitInsertFromRange() argument
197 return commitInsert(OrigLoc, Offs, StrVec, beforePreviousInsertions); in commitInsertFromRange()
200 void EditedSource::commitRemove(SourceLocation OrigLoc, in commitRemove() argument
301 commitInsertFromRange(edit.OrigLoc, edit.Offset, in commit()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Edit/
H A DEditedSource.h85 bool canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs);
96 bool commitInsert(SourceLocation OrigLoc, FileOffset Offs, StringRef text,
98 bool commitInsertFromRange(SourceLocation OrigLoc, FileOffset Offs,
101 void commitRemove(SourceLocation OrigLoc, FileOffset BeginOffs, unsigned Len);
H A DCommit.h41 SourceLocation OrigLoc; member
126 void addInsert(SourceLocation OrigLoc,
128 void addInsertFromRange(SourceLocation OrigLoc, FileOffset Offs,
131 void addRemove(SourceLocation OrigLoc, FileOffset Offs, unsigned Len);
136 bool canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs);
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransARCAssign.cpp47 SourceLocation OrigLoc = E->getExprLoc(); in VisitBinaryOperator() local
48 SourceLocation Loc = OrigLoc; in VisitBinaryOperator()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp1004 TemplateArgumentLoc OrigLoc, in getTemplateArgumentPackExpansionPattern() argument
1006 const TemplateArgument &Argument = OrigLoc.getArgument(); in getTemplateArgumentPackExpansionPattern()
1012 TypeSourceInfo *ExpansionTSInfo = OrigLoc.getTypeSourceInfo(); in getTemplateArgumentPackExpansionPattern()
1044 Ellipsis = OrigLoc.getTemplateEllipsisLoc(); in getTemplateArgumentPackExpansionPattern()
1047 OrigLoc.getTemplateQualifierLoc(), in getTemplateArgumentPackExpansionPattern()
1048 OrigLoc.getTemplateNameLoc()); in getTemplateArgumentPackExpansionPattern()
H A DSemaCUDA.cpp777 FunctionDecl *OrigCallee, SourceLocation OrigLoc) { in MarkKnownEmitted() argument
792 llvm::SmallVector<CallInfo, 4> Worklist = {{OrigCaller, OrigCallee, OrigLoc}}; in MarkKnownEmitted()
H A DSemaExprObjC.cpp2288 Builder.AddFixItHint(FixItHint::CreateInsertion(Edit.OrigLoc, in applyCocoaAPICheck()
2294 FixItHint::CreateInsertionFromRange(Edit.OrigLoc, in applyCocoaAPICheck()
H A DSemaExpr.cpp11187 SourceLocation OrigLoc = Loc; in CheckForModifiableLvalue() local
11240 if (Loc != OrigLoc) in CheckForModifiableLvalue()
11241 Assign = SourceRange(OrigLoc, OrigLoc); in CheckForModifiableLvalue()
11301 if (Loc != OrigLoc) in CheckForModifiableLvalue()
11302 Assign = SourceRange(OrigLoc, OrigLoc); in CheckForModifiableLvalue()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseObjc.cpp3620 SourceLocation OrigLoc = Tok.getLocation(); in ParseLexedObjCMethodDefs() local
3629 Eof.setLocation(OrigLoc); in ParseLexedObjCMethodDefs()
3662 if (Tok.getLocation() != OrigLoc) { in ParseLexedObjCMethodDefs()
3669 OrigLoc)) in ParseLexedObjCMethodDefs()
3670 while (Tok.getLocation() != OrigLoc && Tok.isNot(tok::eof)) in ParseLexedObjCMethodDefs()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h6910 TemplateArgumentLoc OrigLoc,