/external/clang/lib/Edit/ |
D | Commit.cpp | 177 void Commit::addInsert(SourceLocation OrigLoc, FileOffset Offs, StringRef text, in addInsert() argument 184 data.OrigLoc = OrigLoc; in addInsert() 191 void Commit::addInsertFromRange(SourceLocation OrigLoc, FileOffset Offs, in addInsertFromRange() argument 199 data.OrigLoc = OrigLoc; in addInsertFromRange() 207 void Commit::addRemove(SourceLocation OrigLoc, in addRemove() argument 214 data.OrigLoc = OrigLoc; in addRemove() 280 bool Commit::canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs) { in canInsertInOffset() argument 292 return Editor->canInsertInOffset(OrigLoc, Offs); in canInsertInOffset()
|
D | EditedSource.cpp | 61 bool EditedSource::canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs) { in canInsertInOffset() argument 68 if (SourceMgr.isMacroArgExpansion(OrigLoc)) { in canInsertInOffset() 71 deconstructMacroArgLoc(OrigLoc, ExpLoc, II); in canInsertInOffset() 95 bool EditedSource::commitInsert(SourceLocation OrigLoc, in commitInsert() argument 98 if (!canInsertInOffset(OrigLoc, Offs)) in commitInsert() 103 if (SourceMgr.isMacroArgExpansion(OrigLoc)) { in commitInsert() 106 deconstructMacroArgLoc(OrigLoc, ExpLoc, II); in commitInsert() 125 bool EditedSource::commitInsertFromRange(SourceLocation OrigLoc, in commitInsertFromRange() argument 180 return commitInsert(OrigLoc, Offs, StrVec, beforePreviousInsertions); in commitInsertFromRange() 183 void EditedSource::commitRemove(SourceLocation OrigLoc, in commitRemove() argument [all …]
|
/external/llvm-project/clang/lib/Edit/ |
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()
|
D | EditedSource.cpp | 74 bool EditedSource::canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs) { in canInsertInOffset() argument 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 [all …]
|
/external/clang/include/clang/Edit/ |
D | EditedSource.h | 64 bool canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs); 75 bool commitInsert(SourceLocation OrigLoc, FileOffset Offs, StringRef text, 77 bool commitInsertFromRange(SourceLocation OrigLoc, FileOffset Offs, 80 void commitRemove(SourceLocation OrigLoc, FileOffset BeginOffs, unsigned Len);
|
D | Commit.h | 36 SourceLocation OrigLoc; member 114 void addInsert(SourceLocation OrigLoc, 116 void addInsertFromRange(SourceLocation OrigLoc, FileOffset Offs, 119 void addRemove(SourceLocation OrigLoc, FileOffset Offs, unsigned Len); 124 bool canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs);
|
/external/llvm-project/clang/include/clang/Edit/ |
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);
|
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);
|
/external/clang/lib/ARCMigrate/ |
D | TransARCAssign.cpp | 47 SourceLocation OrigLoc = E->getExprLoc(); in VisitBinaryOperator() local 48 SourceLocation Loc = OrigLoc; in VisitBinaryOperator()
|
/external/llvm-project/clang/lib/ARCMigrate/ |
D | TransARCAssign.cpp | 46 SourceLocation OrigLoc = E->getExprLoc(); in VisitBinaryOperator() local 47 SourceLocation Loc = OrigLoc; in VisitBinaryOperator()
|
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()
|
/external/clang/lib/Sema/ |
D | SemaTemplateVariadic.cpp | 881 TemplateArgumentLoc OrigLoc, in getTemplateArgumentPackExpansionPattern() argument 883 const TemplateArgument &Argument = OrigLoc.getArgument(); in getTemplateArgumentPackExpansionPattern() 889 TypeSourceInfo *ExpansionTSInfo = OrigLoc.getTypeSourceInfo(); in getTemplateArgumentPackExpansionPattern() 921 Ellipsis = OrigLoc.getTemplateEllipsisLoc(); in getTemplateArgumentPackExpansionPattern() 924 OrigLoc.getTemplateQualifierLoc(), in getTemplateArgumentPackExpansionPattern() 925 OrigLoc.getTemplateNameLoc()); in getTemplateArgumentPackExpansionPattern()
|
D | SemaExpr.cpp | 9831 SourceLocation OrigLoc = Loc; in CheckForModifiableLvalue() local 9878 if (Loc != OrigLoc) in CheckForModifiableLvalue() 9879 Assign = SourceRange(OrigLoc, OrigLoc); in CheckForModifiableLvalue() 9936 if (Loc != OrigLoc) in CheckForModifiableLvalue() 9937 Assign = SourceRange(OrigLoc, OrigLoc); in CheckForModifiableLvalue()
|
D | SemaExprObjC.cpp | 2240 Builder.AddFixItHint(FixItHint::CreateInsertion(Edit.OrigLoc, in applyCocoaAPICheck() 2246 FixItHint::CreateInsertionFromRange(Edit.OrigLoc, in applyCocoaAPICheck()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaTemplateVariadic.cpp | 1056 TemplateArgumentLoc OrigLoc, in getTemplateArgumentPackExpansionPattern() argument 1058 const TemplateArgument &Argument = OrigLoc.getArgument(); in getTemplateArgumentPackExpansionPattern() 1064 TypeSourceInfo *ExpansionTSInfo = OrigLoc.getTypeSourceInfo(); in getTemplateArgumentPackExpansionPattern() 1096 Ellipsis = OrigLoc.getTemplateEllipsisLoc(); in getTemplateArgumentPackExpansionPattern() 1099 OrigLoc.getTemplateQualifierLoc(), in getTemplateArgumentPackExpansionPattern() 1100 OrigLoc.getTemplateNameLoc()); in getTemplateArgumentPackExpansionPattern()
|
D | SemaDecl.cpp | 11758 QualType OrigTy, SourceLocation OrigLoc, in DiagNonTrivalCUnionDefaultInitializeVisitor() 11760 : OrigTy(OrigTy), OrigLoc(OrigLoc), UseContext(UseContext), S(S) {} in DiagNonTrivalCUnionDefaultInitializeVisitor() 11786 if (OrigLoc.isValid()) { in visitStruct() 11790 S.Diag(OrigLoc, diag::err_non_trivial_c_union_in_invalid_context) in visitStruct() 11793 OrigLoc = SourceLocation(); in visitStruct() 11812 SourceLocation OrigLoc; member 11823 QualType OrigTy, SourceLocation OrigLoc, in DiagNonTrivalCUnionDestructedTypeVisitor() 11825 : OrigTy(OrigTy), OrigLoc(OrigLoc), UseContext(UseContext), S(S) {} in DiagNonTrivalCUnionDestructedTypeVisitor() 11851 if (OrigLoc.isValid()) { in visitStruct() 11855 S.Diag(OrigLoc, diag::err_non_trivial_c_union_in_invalid_context) in visitStruct() [all …]
|
D | SemaExprObjC.cpp | 2469 Builder.AddFixItHint(FixItHint::CreateInsertion(Edit.OrigLoc, in applyCocoaAPICheck() 2475 FixItHint::CreateInsertionFromRange(Edit.OrigLoc, in applyCocoaAPICheck()
|
D | SemaExpr.cpp | 12715 SourceLocation OrigLoc = Loc; in CheckForModifiableLvalue() local 12768 if (Loc != OrigLoc) in CheckForModifiableLvalue() 12769 Assign = SourceRange(OrigLoc, OrigLoc); in CheckForModifiableLvalue() 12829 if (Loc != OrigLoc) in CheckForModifiableLvalue() 12830 Assign = SourceRange(OrigLoc, OrigLoc); in CheckForModifiableLvalue()
|
/external/llvm-project/clang/lib/Parse/ |
D | ParseObjc.cpp | 3643 SourceLocation OrigLoc = Tok.getLocation(); in ParseLexedObjCMethodDefs() local 3652 Eof.setLocation(OrigLoc); in ParseLexedObjCMethodDefs() 3685 if (Tok.getLocation() != OrigLoc) { in ParseLexedObjCMethodDefs() 3692 OrigLoc)) in ParseLexedObjCMethodDefs() 3693 while (Tok.getLocation() != OrigLoc && Tok.isNot(tok::eof)) in ParseLexedObjCMethodDefs()
|
/external/clang/lib/Parse/ |
D | ParseObjc.cpp | 3629 SourceLocation OrigLoc = Tok.getLocation(); in ParseLexedObjCMethodDefs() local 3664 if (Tok.getLocation() != OrigLoc) { in ParseLexedObjCMethodDefs() 3671 OrigLoc)) in ParseLexedObjCMethodDefs() 3672 while (Tok.getLocation() != OrigLoc && Tok.isNot(tok::eof)) in ParseLexedObjCMethodDefs()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 6391 TemplateArgumentLoc OrigLoc,
|
/external/llvm-project/clang/include/clang/Sema/ |
D | Sema.h | 8137 TemplateArgumentLoc OrigLoc,
|