Home
last modified time | relevance | path

Searched refs:SelLocs (Results 1 – 12 of 12) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DExprObjC.cpp121 initArgsAndSelLocs(Args, SelLocs, SelLocsK); in ObjCMessageExpr()
138 initArgsAndSelLocs(Args, SelLocs, SelLocsK); in ObjCMessageExpr()
154 initArgsAndSelLocs(Args, SelLocs, SelLocsK); in ObjCMessageExpr()
170 std::copy(SelLocs.begin(), SelLocs.end(), getStoredSelLocs()); in initArgsAndSelLocs()
178 ArrayRef<SourceLocation> SelLocs, in Create() argument
181 assert((!SelLocs.empty() || isImplicit) && in Create()
200 assert((!SelLocs.empty() || isImplicit) && in Create()
216 ArrayRef<SourceLocation> SelLocs, in Create() argument
219 assert((!SelLocs.empty() || isImplicit) && in Create()
259 SmallVectorImpl<SourceLocation> &SelLocs) const { in getSelectorLocs()
[all …]
H A DSelectorLocationsKind.cpp70 ArrayRef<SourceLocation> SelLocs, in hasStandardSelLocs() argument
75 for (i = 0; i != SelLocs.size(); ++i) { in hasStandardSelLocs()
76 if (SelLocs[i] != getStandardSelectorLoc(i, Sel, /*WithArgSpace=*/false, in hasStandardSelLocs()
80 if (i == SelLocs.size()) in hasStandardSelLocs()
84 for (i = 0; i != SelLocs.size(); ++i) { in hasStandardSelLocs()
85 if (SelLocs[i] != getStandardSelectorLoc(i, Sel, /*WithArgSpace=*/true, in hasStandardSelLocs()
97 ArrayRef<SourceLocation> SelLocs, in hasStandardSelectorLocs() argument
100 return hasStandardSelLocs(Sel, SelLocs, Args, EndLoc); in hasStandardSelectorLocs()
114 ArrayRef<SourceLocation> SelLocs, in hasStandardSelectorLocs() argument
117 return hasStandardSelLocs(Sel, SelLocs, Args, EndLoc); in hasStandardSelectorLocs()
H A DDeclObjC.cpp922 ArrayRef<SourceLocation> SelLocs) { in setParamsAndSelLocs() argument
925 if (Params.empty() && SelLocs.empty()) in setParamsAndSelLocs()
932 sizeof(SourceLocation) * SelLocs.size(); in setParamsAndSelLocs()
935 std::uninitialized_copy(SelLocs.begin(), SelLocs.end(), getStoredSelLocs()); in setParamsAndSelLocs()
939 SmallVectorImpl<SourceLocation> &SelLocs) const { in getSelectorLocs()
941 SelLocs.push_back(getSelectorLoc(i)); in getSelectorLocs()
946 ArrayRef<SourceLocation> SelLocs) { in setMethodParams() argument
947 assert((!SelLocs.empty() || isImplicit()) && in setMethodParams()
952 setSelLocsKind(hasStandardSelectorLocs(getSelector(), SelLocs, Params, in setMethodParams()
957 setParamsAndSelLocs(C, Params, SelLocs); in setMethodParams()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DSelectorLocationsKind.h46 ArrayRef<SourceLocation> SelLocs,
64 ArrayRef<SourceLocation> SelLocs,
H A DExprObjC.h1024 ArrayRef<SourceLocation> SelLocs,
1034 ArrayRef<SourceLocation> SelLocs,
1044 ArrayRef<SourceLocation> SelLocs,
1059 ArrayRef<SourceLocation> SelLocs,
1098 ArrayRef<SourceLocation> SelLocs,
1142 ArrayRef<SourceLocation> SelLocs,
1176 ArrayRef<SourceLocation> SelLocs,
1435 void getSelectorLocs(SmallVectorImpl<SourceLocation> &SelLocs) const;
H A DDeclObjC.h218 ArrayRef<SourceLocation> SelLocs);
304 void getSelectorLocs(SmallVectorImpl<SourceLocation> &SelLocs) const;
389 ArrayRef<SourceLocation> SelLocs = std::nullopt);
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp1265 SmallVector<SourceLocation, 1> SelLocs; in RewritePropertyOrImplicitSetter() local
1266 OldMsg->getSelectorLocs(SelLocs); in RewritePropertyOrImplicitSetter()
1276 SelLocs, in RewritePropertyOrImplicitSetter()
1289 SelLocs, in RewritePropertyOrImplicitSetter()
1305 SelLocs, in RewritePropertyOrImplicitSetter()
1341 SmallVector<SourceLocation, 1> SelLocs; in RewritePropertyOrImplicitGetter() local
1352 SelLocs, in RewritePropertyOrImplicitGetter()
1365 SelLocs, in RewritePropertyOrImplicitGetter()
1381 SelLocs, in RewritePropertyOrImplicitGetter()
H A DRewriteModernObjC.cpp1450 SmallVector<SourceLocation, 1> SelLocs; in RewritePropertyOrImplicitSetter() local
1451 OldMsg->getSelectorLocs(SelLocs); in RewritePropertyOrImplicitSetter()
1461 SelLocs, in RewritePropertyOrImplicitSetter()
1474 SelLocs, in RewritePropertyOrImplicitSetter()
1490 SelLocs, in RewritePropertyOrImplicitSetter()
1534 SmallVector<SourceLocation, 1> SelLocs; in RewritePropertyOrImplicitGetter() local
1544 SelLocs, in RewritePropertyOrImplicitGetter()
1557 SelLocs, in RewritePropertyOrImplicitGetter()
1573 SelLocs, in RewritePropertyOrImplicitGetter()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjCProperty.cpp1065 SmallVector<SourceLocation, 1> SelLocs; in RedeclarePropertyAccessor() local
1066 Decl->getSelectorLocs(SelLocs); in RedeclarePropertyAccessor()
1067 ImplDecl->setMethodParams(Context, Decl->parameters(), SelLocs); in RedeclarePropertyAccessor()
H A DTreeTransform.h14613 SmallVector<SourceLocation, 16> SelLocs; in TransformObjCMessageExpr() local
14614 E->getSelectorLocs(SelLocs); in TransformObjCMessageExpr()
14617 SelLocs, in TransformObjCMessageExpr()
14629 SmallVector<SourceLocation, 16> SelLocs; in TransformObjCMessageExpr() local
14630 E->getSelectorLocs(SelLocs); in TransformObjCMessageExpr()
14633 SelLocs, in TransformObjCMessageExpr()
14655 SmallVector<SourceLocation, 16> SelLocs; in TransformObjCMessageExpr() local
14656 E->getSelectorLocs(SelLocs); in TransformObjCMessageExpr()
14659 SelLocs, in TransformObjCMessageExpr()
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp1200 SmallVector<SourceLocation, 16> SelLocs; in VisitObjCMethodDecl() local
1201 SelLocs.reserve(NumStoredSelLocs); in VisitObjCMethodDecl()
1203 SelLocs.push_back(readSourceLocation()); in VisitObjCMethodDecl()
1205 MD->setParamsAndSelLocs(Reader.getContext(), Params, SelLocs); in VisitObjCMethodDecl()
H A DASTWriterDecl.cpp794 SourceLocation *SelLocs = D->getStoredSelLocs(); in VisitObjCMethodDecl() local
797 Record.AddSourceLocation(SelLocs[i]); in VisitObjCMethodDecl()