/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ExprObjC.cpp | 110 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 …]
|
H A D | SelectorLocationsKind.cpp | 70 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 D | DeclObjC.cpp | 922 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/contrib/llvm-project/clang/include/clang/AST/ |
H A D | SelectorLocationsKind.h | 46 ArrayRef<SourceLocation> SelLocs, 64 ArrayRef<SourceLocation> SelLocs,
|
H A D | DeclObjC.h | 218 ArrayRef<SourceLocation> SelLocs); 304 void getSelectorLocs(SmallVectorImpl<SourceLocation> &SelLocs) const; 389 ArrayRef<SourceLocation> SelLocs = std::nullopt);
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
H A D | RewriteModernObjC.cpp | 1449 SmallVector<SourceLocation, 1> SelLocs; in RewritePropertyOrImplicitSetter() local 1450 OldMsg->getSelectorLocs(SelLocs); in RewritePropertyOrImplicitSetter() 1460 SelLocs, in RewritePropertyOrImplicitSetter() 1473 SelLocs, in RewritePropertyOrImplicitSetter() 1489 SelLocs, in RewritePropertyOrImplicitSetter() 1533 SmallVector<SourceLocation, 1> SelLocs; in RewritePropertyOrImplicitGetter() local 1543 SelLocs, in RewritePropertyOrImplicitGetter() 1556 SelLocs, in RewritePropertyOrImplicitGetter() 1572 SelLocs, in RewritePropertyOrImplicitGetter()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaObjCProperty.cpp | 1050 SmallVector<SourceLocation, 1> SelLocs; in RedeclarePropertyAccessor() local 1051 Decl->getSelectorLocs(SelLocs); in RedeclarePropertyAccessor() 1052 ImplDecl->setMethodParams(Context, Decl->parameters(), SelLocs); in RedeclarePropertyAccessor()
|
H A D | TreeTransform.h | 15647 SmallVector<SourceLocation, 16> SelLocs; in TransformObjCMessageExpr() local 15648 E->getSelectorLocs(SelLocs); in TransformObjCMessageExpr() 15651 SelLocs, in TransformObjCMessageExpr() 15663 SmallVector<SourceLocation, 16> SelLocs; in TransformObjCMessageExpr() local 15664 E->getSelectorLocs(SelLocs); in TransformObjCMessageExpr() 15667 SelLocs, in TransformObjCMessageExpr() 15689 SmallVector<SourceLocation, 16> SelLocs; in TransformObjCMessageExpr() local 15690 E->getSelectorLocs(SelLocs); in TransformObjCMessageExpr() 15693 SelLocs, in TransformObjCMessageExpr()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReaderDecl.cpp | 1192 SmallVector<SourceLocation, 16> SelLocs; in VisitObjCMethodDecl() local 1193 SelLocs.reserve(NumStoredSelLocs); in VisitObjCMethodDecl() 1195 SelLocs.push_back(readSourceLocation()); in VisitObjCMethodDecl() 1197 MD->setParamsAndSelLocs(Reader.getContext(), Params, SelLocs); in VisitObjCMethodDecl()
|
H A D | ASTWriterDecl.cpp | 832 SourceLocation *SelLocs = D->getStoredSelLocs(); in VisitObjCMethodDecl() local 835 Record.AddSourceLocation(SelLocs[i]); in VisitObjCMethodDecl()
|