Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A 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 …]
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.cpp871 ArrayRef<SourceLocation> SelLocs) { in setParamsAndSelLocs() argument
874 if (Params.empty() && SelLocs.empty()) in setParamsAndSelLocs()
881 sizeof(SourceLocation) * SelLocs.size(); in setParamsAndSelLocs()
884 std::copy(SelLocs.begin(), SelLocs.end(), getStoredSelLocs()); in setParamsAndSelLocs()
888 SmallVectorImpl<SourceLocation> &SelLocs) const { in getSelectorLocs()
890 SelLocs.push_back(getSelectorLoc(i)); in getSelectorLocs()
895 ArrayRef<SourceLocation> SelLocs) { in setMethodParams() argument
896 assert((!SelLocs.empty() || isImplicit()) && in setMethodParams()
901 setSelLocsKind(hasStandardSelectorLocs(getSelector(), SelLocs, Params, in setMethodParams()
906 setParamsAndSelLocs(C, Params, SelLocs); in setMethodParams()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DSelectorLocationsKind.h46 ArrayRef<SourceLocation> SelLocs,
64 ArrayRef<SourceLocation> SelLocs,
H A 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,
1426 void getSelectorLocs(SmallVectorImpl<SourceLocation> &SelLocs) const;
H A DDeclObjC.h221 ArrayRef<SourceLocation> SelLocs);
307 void getSelectorLocs(SmallVectorImpl<SourceLocation> &SelLocs) const;
394 ArrayRef<SourceLocation> SelLocs = llvm::None);
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A 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()
628 SmallVector<SourceLocation, 16> SelLocs; in MakeCXCursor() local
629 cast<ObjCMessageExpr>(S)->getSelectorLocs(SelLocs); in MakeCXCursor()
631 llvm::find(SelLocs, RegionOfInterest.getBegin()); in MakeCXCursor()
632 if (I != SelLocs.end()) in MakeCXCursor()
633 SelectorIdIndex = I - SelLocs.begin(); in MakeCXCursor()
/netbsd-src/external/apache2/llvm/dist/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.cpp1449 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()
/netbsd-src/external/apache2/llvm/dist/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.h13782 SmallVector<SourceLocation, 16> SelLocs; in TransformObjCMessageExpr() local
13783 E->getSelectorLocs(SelLocs); in TransformObjCMessageExpr()
13786 SelLocs, in TransformObjCMessageExpr()
13798 SmallVector<SourceLocation, 16> SelLocs; in TransformObjCMessageExpr() local
13799 E->getSelectorLocs(SelLocs); in TransformObjCMessageExpr()
13802 SelLocs, in TransformObjCMessageExpr()
13824 SmallVector<SourceLocation, 16> SelLocs; in TransformObjCMessageExpr() local
13825 E->getSelectorLocs(SelLocs); in TransformObjCMessageExpr()
13828 SelLocs, in TransformObjCMessageExpr()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTReaderDecl.cpp1072 SmallVector<SourceLocation, 16> SelLocs; in VisitObjCMethodDecl() local
1073 SelLocs.reserve(NumStoredSelLocs); in VisitObjCMethodDecl()
1075 SelLocs.push_back(readSourceLocation()); in VisitObjCMethodDecl()
1077 MD->setParamsAndSelLocs(Reader.getContext(), Params, SelLocs); in VisitObjCMethodDecl()
H A DASTWriterDecl.cpp721 SourceLocation *SelLocs = D->getStoredSelLocs(); in VisitObjCMethodDecl() local
724 Record.AddSourceLocation(SelLocs[i]); in VisitObjCMethodDecl()