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

/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Edit/
H A DEditedSource.h84 bool canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs);
95 bool commitInsert(SourceLocation OrigLoc, FileOffset Offs, StringRef text,
97 bool commitInsertFromRange(SourceLocation OrigLoc, FileOffset Offs,
100 void commitRemove(SourceLocation OrigLoc, FileOffset BeginOffs, unsigned Len);
H A DCommit.h40 SourceLocation OrigLoc; member in struct:clang::edit::Commit::Edit
125 void addInsert(SourceLocation OrigLoc,
127 void addInsertFromRange(SourceLocation OrigLoc, FileOffset Offs,
130 void addRemove(SourceLocation OrigLoc, FileOffset Offs, unsigned Len);
135 bool canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs);
/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransARCAssign.cpp46 SourceLocation OrigLoc = E->getExprLoc(); local
47 SourceLocation Loc = OrigLoc;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Edit/
H A DCommit.cpp182 void Commit::addInsert(SourceLocation OrigLoc, FileOffset Offs, StringRef text, argument
189 data.OrigLoc = OrigLoc;
196 void Commit::addInsertFromRange(SourceLocation OrigLoc, FileOffset Offs, argument
204 data.OrigLoc = OrigLoc;
212 void Commit::addRemove(SourceLocation OrigLoc, argument
219 data.OrigLoc = OrigLoc;
283 bool Commit::canInsertInOffset(SourceLocation OrigLoc, FileOffse argument
[all...]
H A DEditedSource.cpp74 bool EditedSource::canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs) { argument
81 if (SourceMgr.isMacroArgExpansion(OrigLoc)) {
84 deconstructMacroArgLoc(OrigLoc, ExpLoc, ArgUse);
111 bool EditedSource::commitInsert(SourceLocation OrigLoc, argument
114 if (!canInsertInOffset(OrigLoc, Offs))
119 if (SourceMgr.isMacroArgExpansion(OrigLoc)) {
122 deconstructMacroArgLoc(OrigLoc, ExpLoc, ArgUse);
141 bool EditedSource::commitInsertFromRange(SourceLocation OrigLoc, argument
196 return commitInsert(OrigLoc, Offs, StrVec, beforePreviousInsertions);
199 void EditedSource::commitRemove(SourceLocation OrigLoc, argument
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp1033 TemplateArgumentLoc OrigLoc,
1035 const TemplateArgument &Argument = OrigLoc.getArgument();
1041 TypeSourceInfo *ExpansionTSInfo = OrigLoc.getTypeSourceInfo();
1073 Ellipsis = OrigLoc.getTemplateEllipsisLoc();
1076 OrigLoc.getTemplateQualifierLoc(),
1077 OrigLoc.getTemplateNameLoc());
1032 getTemplateArgumentPackExpansionPattern( TemplateArgumentLoc OrigLoc, SourceLocation &Ellipsis, Optional<unsigned> &NumExpansions) const argument
H A DSemaDecl.cpp11670 QualType OrigTy, SourceLocation OrigLoc,
11672 : OrigTy(OrigTy), OrigLoc(OrigLoc), UseContext(UseContext), S(S) {}
11698 if (OrigLoc.isValid()) {
11702 S.Diag(OrigLoc, diag::err_non_trivial_c_union_in_invalid_context)
11704 // Reset OrigLoc so that this diagnostic is emitted only once.
11705 OrigLoc = SourceLocation();
11724 SourceLocation OrigLoc; member in struct:__anon2051::DiagNonTrivalCUnionDefaultInitializeVisitor
11735 QualType OrigTy, SourceLocation OrigLoc,
11737 : OrigTy(OrigTy), OrigLoc(OrigLo
11669 DiagNonTrivalCUnionDefaultInitializeVisitor( QualType OrigTy, SourceLocation OrigLoc, Sema::NonTrivialCUnionContext UseContext, Sema &S) argument
11734 DiagNonTrivalCUnionDestructedTypeVisitor( QualType OrigTy, SourceLocation OrigLoc, Sema::NonTrivialCUnionContext UseContext, Sema &S) argument
11791 SourceLocation OrigLoc; member in struct:__anon2051::DiagNonTrivalCUnionDestructedTypeVisitor
11800 DiagNonTrivalCUnionCopyVisitor(QualType OrigTy, SourceLocation OrigLoc, Sema::NonTrivialCUnionContext UseContext, Sema &S) argument
11859 SourceLocation OrigLoc; member in struct:__anon2051::DiagNonTrivalCUnionCopyVisitor
[all...]
H A DSemaExprObjC.cpp2458 Builder.AddFixItHint(FixItHint::CreateInsertion(Edit.OrigLoc,
2464 FixItHint::CreateInsertionFromRange(Edit.OrigLoc,
H A DSemaExpr.cpp12561 SourceLocation OrigLoc = Loc; local
12614 if (Loc != OrigLoc)
12615 Assign = SourceRange(OrigLoc, OrigLoc);
12675 if (Loc != OrigLoc)
12676 Assign = SourceRange(OrigLoc, OrigLoc);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseObjc.cpp3644 SourceLocation OrigLoc = Tok.getLocation();
3653 Eof.setLocation(OrigLoc);
3686 if (Tok.getLocation() != OrigLoc) {
3693 OrigLoc))
3694 while (Tok.getLocation() != OrigLoc && Tok.isNot(tok::eof))
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h8004 /// \param OrigLoc The template argument to expand.
8011 TemplateArgumentLoc OrigLoc,

Completed in 312 milliseconds