Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprObjC.cpp107 ArrayRef<SourceLocation> SelLocs, in ObjCMessageExpr() argument
118 initArgsAndSelLocs(Args, SelLocs, SelLocsK); in ObjCMessageExpr()
126 ArrayRef<SourceLocation> SelLocs, in ObjCMessageExpr() argument
135 initArgsAndSelLocs(Args, SelLocs, SelLocsK); in ObjCMessageExpr()
142 Selector Sel, ArrayRef<SourceLocation> SelLocs, in ObjCMessageExpr() argument
151 initArgsAndSelLocs(Args, SelLocs, SelLocsK); in ObjCMessageExpr()
157 ArrayRef<SourceLocation> SelLocs, in initArgsAndSelLocs() argument
166 llvm::copy(SelLocs, getStoredSelLocs()); in initArgsAndSelLocs()
173 ArrayRef<SourceLocation> SelLocs, in Create() argument
176 assert((!SelLocs.empty() || isImplicit) && in Create()
[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.cpp919 ArrayRef<SourceLocation> SelLocs) { in setParamsAndSelLocs() argument
922 if (Params.empty() && SelLocs.empty()) in setParamsAndSelLocs()
929 sizeof(SourceLocation) * SelLocs.size(); in setParamsAndSelLocs()
932 llvm::uninitialized_copy(SelLocs, getStoredSelLocs()); in setParamsAndSelLocs()
936 SmallVectorImpl<SourceLocation> &SelLocs) const { in getSelectorLocs()
938 SelLocs.push_back(getSelectorLoc(i)); in getSelectorLocs()
943 ArrayRef<SourceLocation> SelLocs) { in setMethodParams() argument
944 assert((!SelLocs.empty() || isImplicit()) && in setMethodParams()
949 setSelLocsKind(hasStandardSelectorLocs(getSelector(), SelLocs, Params, in setMethodParams()
954 setParamsAndSelLocs(C, Params, SelLocs); in setMethodParams()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DSelectorLocationsKind.h46 ArrayRef<SourceLocation> SelLocs,
64 ArrayRef<SourceLocation> SelLocs,
H A DExprObjC.h1018 ArrayRef<SourceLocation> SelLocs,
1028 ArrayRef<SourceLocation> SelLocs,
1038 ArrayRef<SourceLocation> SelLocs,
1053 ArrayRef<SourceLocation> SelLocs,
1092 ArrayRef<SourceLocation> SelLocs,
1136 ArrayRef<SourceLocation> SelLocs,
1170 ArrayRef<SourceLocation> SelLocs,
1428 void getSelectorLocs(SmallVectorImpl<SourceLocation> &SelLocs) const;
H A DDeclObjC.h218 ArrayRef<SourceLocation> SelLocs);
304 void getSelectorLocs(SmallVectorImpl<SourceLocation> &SelLocs) const;
389 ArrayRef<SourceLocation> SelLocs = {});
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp1263 SmallVector<SourceLocation, 1> SelLocs; in RewritePropertyOrImplicitSetter() local
1264 OldMsg->getSelectorLocs(SelLocs); in RewritePropertyOrImplicitSetter()
1274 SelLocs, in RewritePropertyOrImplicitSetter()
1287 SelLocs, in RewritePropertyOrImplicitSetter()
1303 SelLocs, in RewritePropertyOrImplicitSetter()
1339 SmallVector<SourceLocation, 1> SelLocs; in RewritePropertyOrImplicitGetter() local
1350 SelLocs, in RewritePropertyOrImplicitGetter()
1363 SelLocs, in RewritePropertyOrImplicitGetter()
1379 SelLocs, in RewritePropertyOrImplicitGetter()
H A DRewriteModernObjC.cpp1448 SmallVector<SourceLocation, 1> SelLocs; in RewritePropertyOrImplicitSetter() local
1449 OldMsg->getSelectorLocs(SelLocs); in RewritePropertyOrImplicitSetter()
1459 SelLocs, in RewritePropertyOrImplicitSetter()
1472 SelLocs, in RewritePropertyOrImplicitSetter()
1488 SelLocs, in RewritePropertyOrImplicitSetter()
1532 SmallVector<SourceLocation, 1> SelLocs; in RewritePropertyOrImplicitGetter() local
1542 SelLocs, in RewritePropertyOrImplicitGetter()
1555 SelLocs, in RewritePropertyOrImplicitGetter()
1571 SelLocs, in RewritePropertyOrImplicitGetter()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjCProperty.cpp1051 SmallVector<SourceLocation, 1> SelLocs; in RedeclarePropertyAccessor() local
1052 Decl->getSelectorLocs(SelLocs); in RedeclarePropertyAccessor()
1053 ImplDecl->setMethodParams(Context, Decl->parameters(), SelLocs); in RedeclarePropertyAccessor()
H A DTreeTransform.h16786 SmallVector<SourceLocation, 16> SelLocs; in TransformObjCMessageExpr() local
16787 E->getSelectorLocs(SelLocs); in TransformObjCMessageExpr()
16790 SelLocs, in TransformObjCMessageExpr()
16802 SmallVector<SourceLocation, 16> SelLocs; in TransformObjCMessageExpr() local
16803 E->getSelectorLocs(SelLocs); in TransformObjCMessageExpr()
16806 SelLocs, in TransformObjCMessageExpr()
16828 SmallVector<SourceLocation, 16> SelLocs; in TransformObjCMessageExpr() local
16829 E->getSelectorLocs(SelLocs); in TransformObjCMessageExpr()
16832 SelLocs, in TransformObjCMessageExpr()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp1197 SmallVector<SourceLocation, 16> SelLocs; in VisitObjCMethodDecl() local
1198 SelLocs.reserve(NumStoredSelLocs); in VisitObjCMethodDecl()
1200 SelLocs.push_back(readSourceLocation()); in VisitObjCMethodDecl()
1202 MD->setParamsAndSelLocs(Reader.getContext(), Params, SelLocs); in VisitObjCMethodDecl()
H A DASTWriterDecl.cpp1005 SourceLocation *SelLocs = D->getStoredSelLocs(); in VisitObjCMethodDecl() local
1008 Record.AddSourceLocation(SelLocs[i]); in VisitObjCMethodDecl()