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

/netbsd-current/external/apache2/llvm/dist/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);
/netbsd-current/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DTransARCAssign.cpp46 SourceLocation OrigLoc = E->getExprLoc(); local
47 SourceLocation Loc = OrigLoc;
H A DTransGCAttrs.cpp91 SourceLocation OrigLoc = Loc; local
92 if (MigrateCtx.AttrSet.count(OrigLoc))
108 MigrateCtx.AttrSet.insert(OrigLoc);
/netbsd-current/external/apache2/llvm/dist/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...]
/netbsd-current/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp1056 TemplateArgumentLoc OrigLoc,
1058 const TemplateArgument &Argument = OrigLoc.getArgument();
1064 TypeSourceInfo *ExpansionTSInfo = OrigLoc.getTypeSourceInfo();
1096 Ellipsis = OrigLoc.getTemplateEllipsisLoc();
1099 OrigLoc.getTemplateQualifierLoc(),
1100 OrigLoc.getTemplateNameLoc());
1055 getTemplateArgumentPackExpansionPattern( TemplateArgumentLoc OrigLoc, SourceLocation &Ellipsis, Optional<unsigned> &NumExpansions) const argument
H A DSemaDecl.cpp11867 QualType OrigTy, SourceLocation OrigLoc,
11869 : OrigTy(OrigTy), OrigLoc(OrigLoc), UseContext(UseContext), S(S) {}
11895 if (OrigLoc.isValid()) {
11899 S.Diag(OrigLoc, diag::err_non_trivial_c_union_in_invalid_context)
11901 // Reset OrigLoc so that this diagnostic is emitted only once.
11902 OrigLoc = SourceLocation();
11921 SourceLocation OrigLoc; member in struct:__anon797::DiagNonTrivalCUnionDefaultInitializeVisitor
11932 QualType OrigTy, SourceLocation OrigLoc,
11934 : OrigTy(OrigTy), OrigLoc(OrigLo
11866 DiagNonTrivalCUnionDefaultInitializeVisitor( QualType OrigTy, SourceLocation OrigLoc, Sema::NonTrivialCUnionContext UseContext, Sema &S) argument
11931 DiagNonTrivalCUnionDestructedTypeVisitor( QualType OrigTy, SourceLocation OrigLoc, Sema::NonTrivialCUnionContext UseContext, Sema &S) argument
11988 SourceLocation OrigLoc; member in struct:__anon797::DiagNonTrivalCUnionDestructedTypeVisitor
11997 DiagNonTrivalCUnionCopyVisitor(QualType OrigTy, SourceLocation OrigLoc, Sema::NonTrivialCUnionContext UseContext, Sema &S) argument
12056 SourceLocation OrigLoc; member in struct:__anon797::DiagNonTrivalCUnionCopyVisitor
[all...]
H A DSemaExprObjC.cpp2470 Builder.AddFixItHint(FixItHint::CreateInsertion(Edit.OrigLoc,
2476 FixItHint::CreateInsertionFromRange(Edit.OrigLoc,
H A DSemaExpr.cpp12833 SourceLocation OrigLoc = Loc; local
12886 if (Loc != OrigLoc)
12887 Assign = SourceRange(OrigLoc, OrigLoc);
12947 if (Loc != OrigLoc)
12948 Assign = SourceRange(OrigLoc, OrigLoc);
/netbsd-current/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseObjc.cpp3647 SourceLocation OrigLoc = Tok.getLocation();
3656 Eof.setLocation(OrigLoc);
3689 if (Tok.getLocation() != OrigLoc) {
3696 OrigLoc))
3697 while (Tok.getLocation() != OrigLoc && Tok.isNot(tok::eof))
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h8282 /// \param OrigLoc The template argument to expand.
8289 TemplateArgumentLoc OrigLoc,

Completed in 319 milliseconds