Home
last modified time | relevance | path

Searched refs:OrigLoc (Results 1 – 22 of 22) sorted by relevance

/external/clang/lib/Edit/
DCommit.cpp177 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()
DEditedSource.cpp61 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/
DCommit.cpp182 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()
DEditedSource.cpp74 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/
DEditedSource.h64 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);
DCommit.h36 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/
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);
DCommit.h40 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/
DTransARCAssign.cpp47 SourceLocation OrigLoc = E->getExprLoc(); in VisitBinaryOperator() local
48 SourceLocation Loc = OrigLoc; in VisitBinaryOperator()
/external/llvm-project/clang/lib/ARCMigrate/
DTransARCAssign.cpp46 SourceLocation OrigLoc = E->getExprLoc(); in VisitBinaryOperator() local
47 SourceLocation Loc = OrigLoc; in VisitBinaryOperator()
DTransGCAttrs.cpp91 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/
DSemaTemplateVariadic.cpp881 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()
DSemaExpr.cpp9831 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()
DSemaExprObjC.cpp2240 Builder.AddFixItHint(FixItHint::CreateInsertion(Edit.OrigLoc, in applyCocoaAPICheck()
2246 FixItHint::CreateInsertionFromRange(Edit.OrigLoc, in applyCocoaAPICheck()
/external/llvm-project/clang/lib/Sema/
DSemaTemplateVariadic.cpp1056 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()
DSemaDecl.cpp11758 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 …]
DSemaExprObjC.cpp2469 Builder.AddFixItHint(FixItHint::CreateInsertion(Edit.OrigLoc, in applyCocoaAPICheck()
2475 FixItHint::CreateInsertionFromRange(Edit.OrigLoc, in applyCocoaAPICheck()
DSemaExpr.cpp12715 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/
DParseObjc.cpp3643 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/
DParseObjc.cpp3629 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/
DSema.h6391 TemplateArgumentLoc OrigLoc,
/external/llvm-project/clang/include/clang/Sema/
DSema.h8137 TemplateArgumentLoc OrigLoc,