| /freebsd-14.2/contrib/llvm-project/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 …]
|
| /freebsd-14.2/contrib/llvm-project/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);
|
| /freebsd-14.2/contrib/llvm-project/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()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaTemplateVariadic.cpp | 1065 TemplateArgumentLoc OrigLoc, SourceLocation &Ellipsis, in getTemplateArgumentPackExpansionPattern() argument 1067 const TemplateArgument &Argument = OrigLoc.getArgument(); in getTemplateArgumentPackExpansionPattern() 1073 TypeSourceInfo *ExpansionTSInfo = OrigLoc.getTypeSourceInfo(); in getTemplateArgumentPackExpansionPattern() 1105 Ellipsis = OrigLoc.getTemplateEllipsisLoc(); in getTemplateArgumentPackExpansionPattern() 1108 OrigLoc.getTemplateQualifierLoc(), in getTemplateArgumentPackExpansionPattern() 1109 OrigLoc.getTemplateNameLoc()); in getTemplateArgumentPackExpansionPattern()
|
| H A D | SemaDecl.cpp | 13231 : OrigTy(OrigTy), OrigLoc(OrigLoc), UseContext(UseContext), S(S) {} in DiagNonTrivalCUnionDefaultInitializeVisitor() 13257 if (OrigLoc.isValid()) { in visitStruct() 13264 OrigLoc = SourceLocation(); in visitStruct() 13283 SourceLocation OrigLoc; member 13296 : OrigTy(OrigTy), OrigLoc(OrigLoc), UseContext(UseContext), S(S) {} in DiagNonTrivalCUnionDestructedTypeVisitor() 13322 if (OrigLoc.isValid()) { in visitStruct() 13329 OrigLoc = SourceLocation(); in visitStruct() 13350 SourceLocation OrigLoc; member 13362 : OrigTy(OrigTy), OrigLoc(OrigLoc), UseContext(UseContext), S(S) {} in DiagNonTrivalCUnionCopyVisitor() 13388 if (OrigLoc.isValid()) { in visitStruct() [all …]
|
| H A D | SemaExprObjC.cpp | 2473 Builder.AddFixItHint(FixItHint::CreateInsertion(Edit.OrigLoc, in applyCocoaAPICheck() 2479 FixItHint::CreateInsertionFromRange(Edit.OrigLoc, in applyCocoaAPICheck()
|
| H A D | SemaExpr.cpp | 14399 SourceLocation OrigLoc = Loc; in CheckForModifiableLvalue() local 14452 if (Loc != OrigLoc) in CheckForModifiableLvalue() 14453 Assign = SourceRange(OrigLoc, OrigLoc); in CheckForModifiableLvalue() 14513 if (Loc != OrigLoc) in CheckForModifiableLvalue() 14514 Assign = SourceRange(OrigLoc, OrigLoc); in CheckForModifiableLvalue()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseObjc.cpp | 3714 SourceLocation OrigLoc = Tok.getLocation(); in ParseLexedObjCMethodDefs() local 3723 Eof.setLocation(OrigLoc); in ParseLexedObjCMethodDefs() 3756 if (Tok.getLocation() != OrigLoc) { in ParseLexedObjCMethodDefs() 3763 OrigLoc)) in ParseLexedObjCMethodDefs() 3764 while (Tok.getLocation() != OrigLoc && Tok.isNot(tok::eof)) in ParseLexedObjCMethodDefs()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 9187 TemplateArgumentLoc OrigLoc, SourceLocation &Ellipsis,
|