Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/clang/lib/AST/
DExprObjC.cpp110 ArrayRef<SourceLocation> SelLocs, in ObjCMessageExpr() argument
121 initArgsAndSelLocs(Args, SelLocs, SelLocsK); in ObjCMessageExpr()
129 ArrayRef<SourceLocation> SelLocs, in ObjCMessageExpr() argument
138 initArgsAndSelLocs(Args, SelLocs, SelLocsK); in ObjCMessageExpr()
145 Selector Sel, ArrayRef<SourceLocation> SelLocs, in ObjCMessageExpr() argument
154 initArgsAndSelLocs(Args, SelLocs, SelLocsK); in ObjCMessageExpr()
160 ArrayRef<SourceLocation> SelLocs, in initArgsAndSelLocs() argument
170 std::copy(SelLocs.begin(), SelLocs.end(), getStoredSelLocs()); in initArgsAndSelLocs()
178 ArrayRef<SourceLocation> SelLocs, in Create() argument
181 assert((!SelLocs.empty() || isImplicit) && in Create()
[all …]
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()
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::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()
/openbsd/src/gnu/llvm/clang/include/clang/AST/
DSelectorLocationsKind.h46 ArrayRef<SourceLocation> SelLocs,
64 ArrayRef<SourceLocation> SelLocs,
DExprObjC.h999 ArrayRef<SourceLocation> SelLocs,
1009 ArrayRef<SourceLocation> SelLocs,
1019 ArrayRef<SourceLocation> SelLocs,
1034 ArrayRef<SourceLocation> SelLocs,
1073 ArrayRef<SourceLocation> SelLocs,
1132 ArrayRef<SourceLocation> SelLocs,
1166 ArrayRef<SourceLocation> SelLocs,
1425 void getSelectorLocs(SmallVectorImpl<SourceLocation> &SelLocs) const;
DDeclObjC.h220 ArrayRef<SourceLocation> SelLocs);
306 void getSelectorLocs(SmallVectorImpl<SourceLocation> &SelLocs) const;
391 ArrayRef<SourceLocation> SelLocs = std::nullopt);
/openbsd/src/gnu/llvm/clang/tools/libclang/
DCXCursor.cpp152 SmallVector<SourceLocation, 16> SelLocs; in MakeCXCursor() local
153 cast<ObjCMethodDecl>(D)->getSelectorLocs(SelLocs); in MakeCXCursor()
155 llvm::find(SelLocs, RegionOfInterest.getBegin()); in MakeCXCursor()
156 if (I != SelLocs.end()) in MakeCXCursor()
157 SelectorIdIndex = I - SelLocs.begin(); in MakeCXCursor()
627 SmallVector<SourceLocation, 16> SelLocs; in MakeCXCursor() local
628 cast<ObjCMessageExpr>(S)->getSelectorLocs(SelLocs); in MakeCXCursor()
630 llvm::find(SelLocs, RegionOfInterest.getBegin()); in MakeCXCursor()
631 if (I != SelLocs.end()) in MakeCXCursor()
632 SelectorIdIndex = I - SelLocs.begin(); in MakeCXCursor()
/openbsd/src/gnu/llvm/clang/lib/Frontend/Rewrite/
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()
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()
/openbsd/src/gnu/llvm/clang/lib/Sema/
DSemaObjCProperty.cpp1065 SmallVector<SourceLocation, 1> SelLocs; in RedeclarePropertyAccessor() local
1066 Decl->getSelectorLocs(SelLocs); in RedeclarePropertyAccessor()
1067 ImplDecl->setMethodParams(Context, Decl->parameters(), SelLocs); in RedeclarePropertyAccessor()
DTreeTransform.h14330 SmallVector<SourceLocation, 16> SelLocs; in TransformObjCMessageExpr() local
14331 E->getSelectorLocs(SelLocs); in TransformObjCMessageExpr()
14334 SelLocs, in TransformObjCMessageExpr()
14346 SmallVector<SourceLocation, 16> SelLocs; in TransformObjCMessageExpr() local
14347 E->getSelectorLocs(SelLocs); in TransformObjCMessageExpr()
14350 SelLocs, in TransformObjCMessageExpr()
14372 SmallVector<SourceLocation, 16> SelLocs; in TransformObjCMessageExpr() local
14373 E->getSelectorLocs(SelLocs); in TransformObjCMessageExpr()
14376 SelLocs, in TransformObjCMessageExpr()
/openbsd/src/gnu/llvm/clang/lib/Serialization/
DASTReaderDecl.cpp1158 SmallVector<SourceLocation, 16> SelLocs; in VisitObjCMethodDecl() local
1159 SelLocs.reserve(NumStoredSelLocs); in VisitObjCMethodDecl()
1161 SelLocs.push_back(readSourceLocation()); in VisitObjCMethodDecl()
1163 MD->setParamsAndSelLocs(Reader.getContext(), Params, SelLocs); in VisitObjCMethodDecl()
DASTWriterDecl.cpp739 SourceLocation *SelLocs = D->getStoredSelLocs(); in VisitObjCMethodDecl() local
742 Record.AddSourceLocation(SelLocs[i]); in VisitObjCMethodDecl()