| /llvm-project-15.0.7/clang/lib/Edit/ |
| H A D | Commit.cpp | 182 void Commit::addInsert(SourceLocation OrigLoc, FileOffset Offs, StringRef text, in addInsert() argument 189 data.OrigLoc = OrigLoc; in addInsert() 196 void Commit::addInsertFromRange(SourceLocation OrigLoc, FileOffset Offs, in addInsertFromRange() argument 204 data.OrigLoc = OrigLoc; in addInsertFromRange() 212 void Commit::addRemove(SourceLocation OrigLoc, in addRemove() argument 219 data.OrigLoc = OrigLoc; in addRemove() 283 bool Commit::canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs) { in canInsertInOffset() argument 293 return Editor->canInsertInOffset(OrigLoc, Offs); in canInsertInOffset()
|
| H A D | EditedSource.cpp | 81 if (SourceMgr.isMacroArgExpansion(OrigLoc)) { in canInsertInOffset() 84 deconstructMacroArgLoc(OrigLoc, ExpLoc, ArgUse); in canInsertInOffset() 111 bool EditedSource::commitInsert(SourceLocation OrigLoc, in commitInsert() argument 114 if (!canInsertInOffset(OrigLoc, Offs)) in commitInsert() 119 if (SourceMgr.isMacroArgExpansion(OrigLoc)) { in commitInsert() 122 deconstructMacroArgLoc(OrigLoc, ExpLoc, ArgUse); in commitInsert() 141 bool EditedSource::commitInsertFromRange(SourceLocation OrigLoc, in commitInsertFromRange() argument 196 return commitInsert(OrigLoc, Offs, StrVec, beforePreviousInsertions); in commitInsertFromRange() 199 void EditedSource::commitRemove(SourceLocation OrigLoc, in commitRemove() argument 300 commitInsertFromRange(edit.OrigLoc, edit.Offset, in commit() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Edit/ |
| H A D | EditedSource.h | 84 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 D | Commit.h | 40 SourceLocation OrigLoc; member 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);
|
| /llvm-project-15.0.7/clang/lib/ARCMigrate/ |
| H A D | TransARCAssign.cpp | 46 SourceLocation OrigLoc = E->getExprLoc(); in VisitBinaryOperator() local 47 SourceLocation Loc = OrigLoc; in VisitBinaryOperator()
|
| H A D | TransGCAttrs.cpp | 91 SourceLocation OrigLoc = Loc; in handleAttr() local 92 if (MigrateCtx.AttrSet.count(OrigLoc)) in handleAttr() 108 MigrateCtx.AttrSet.insert(OrigLoc); in handleAttr()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaTemplateVariadic.cpp | 1054 TemplateArgumentLoc OrigLoc, in getTemplateArgumentPackExpansionPattern() argument 1056 const TemplateArgument &Argument = OrigLoc.getArgument(); in getTemplateArgumentPackExpansionPattern() 1062 TypeSourceInfo *ExpansionTSInfo = OrigLoc.getTypeSourceInfo(); in getTemplateArgumentPackExpansionPattern() 1094 Ellipsis = OrigLoc.getTemplateEllipsisLoc(); in getTemplateArgumentPackExpansionPattern() 1097 OrigLoc.getTemplateQualifierLoc(), in getTemplateArgumentPackExpansionPattern() 1098 OrigLoc.getTemplateNameLoc()); in getTemplateArgumentPackExpansionPattern()
|
| H A D | SemaDecl.cpp | 12425 : OrigTy(OrigTy), OrigLoc(OrigLoc), UseContext(UseContext), S(S) {} in DiagNonTrivalCUnionDefaultInitializeVisitor() 12451 if (OrigLoc.isValid()) { in visitStruct() 12458 OrigLoc = SourceLocation(); in visitStruct() 12477 SourceLocation OrigLoc; member 12490 : OrigTy(OrigTy), OrigLoc(OrigLoc), UseContext(UseContext), S(S) {} in DiagNonTrivalCUnionDestructedTypeVisitor() 12516 if (OrigLoc.isValid()) { in visitStruct() 12523 OrigLoc = SourceLocation(); in visitStruct() 12544 SourceLocation OrigLoc; member 12556 : OrigTy(OrigTy), OrigLoc(OrigLoc), UseContext(UseContext), S(S) {} in DiagNonTrivalCUnionCopyVisitor() 12582 if (OrigLoc.isValid()) { in visitStruct() [all …]
|
| H A D | SemaExprObjC.cpp | 2470 Builder.AddFixItHint(FixItHint::CreateInsertion(Edit.OrigLoc, in applyCocoaAPICheck() 2476 FixItHint::CreateInsertionFromRange(Edit.OrigLoc, in applyCocoaAPICheck()
|
| H A D | SemaExpr.cpp | 13657 SourceLocation OrigLoc = Loc; in CheckForModifiableLvalue() local 13710 if (Loc != OrigLoc) in CheckForModifiableLvalue() 13711 Assign = SourceRange(OrigLoc, OrigLoc); in CheckForModifiableLvalue() 13771 if (Loc != OrigLoc) in CheckForModifiableLvalue() 13772 Assign = SourceRange(OrigLoc, OrigLoc); in CheckForModifiableLvalue()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseObjc.cpp | 3656 SourceLocation OrigLoc = Tok.getLocation(); in ParseLexedObjCMethodDefs() local 3665 Eof.setLocation(OrigLoc); in ParseLexedObjCMethodDefs() 3698 if (Tok.getLocation() != OrigLoc) { in ParseLexedObjCMethodDefs() 3705 OrigLoc)) in ParseLexedObjCMethodDefs() 3706 while (Tok.getLocation() != OrigLoc && Tok.isNot(tok::eof)) in ParseLexedObjCMethodDefs()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Sema.h | 8662 TemplateArgumentLoc OrigLoc,
|