/external/clang/lib/Sema/ |
D | SemaExprObjC.cpp | 505 ObjCMethodDecl *BoxingMethod = nullptr; in BuildObjCBoxedExpr() local 534 BoxingMethod = NSStringDecl->lookupClassMethod(stringWithUTF8String); in BuildObjCBoxedExpr() 535 if (!BoxingMethod && getLangOpts().DebuggerObjCLiteral) { in BuildObjCBoxedExpr() 555 BoxingMethod = M; in BuildObjCBoxedExpr() 559 stringWithUTF8String, BoxingMethod)) in BuildObjCBoxedExpr() 562 StringWithUTF8StringMethod = BoxingMethod; in BuildObjCBoxedExpr() 565 BoxingMethod = StringWithUTF8StringMethod; in BuildObjCBoxedExpr() 602 BoxingMethod = getNSNumberFactoryMethod(*this, Loc, ValueType); in BuildObjCBoxedExpr() 611 BoxingMethod = getNSNumberFactoryMethod(*this, Loc, in BuildObjCBoxedExpr() 640 BoxingMethod = NSValueDecl->lookupClassMethod(ValueWithBytesObjCType); in BuildObjCBoxedExpr() [all …]
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaExprObjC.cpp | 506 ObjCMethodDecl *BoxingMethod = nullptr; in BuildObjCBoxedExpr() local 559 BoxingMethod = NSStringDecl->lookupClassMethod(stringWithUTF8String); in BuildObjCBoxedExpr() 560 if (!BoxingMethod && getLangOpts().DebuggerObjCLiteral) { in BuildObjCBoxedExpr() 581 BoxingMethod = M; in BuildObjCBoxedExpr() 585 stringWithUTF8String, BoxingMethod)) in BuildObjCBoxedExpr() 588 StringWithUTF8StringMethod = BoxingMethod; in BuildObjCBoxedExpr() 591 BoxingMethod = StringWithUTF8StringMethod; in BuildObjCBoxedExpr() 595 BoxingMethod->getReturnType()->getNullability(Context); in BuildObjCBoxedExpr() 634 BoxingMethod = getNSNumberFactoryMethod(*this, Loc, ValueType); in BuildObjCBoxedExpr() 643 BoxingMethod = getNSNumberFactoryMethod(*this, Loc, in BuildObjCBoxedExpr() [all …]
|
/external/llvm-project/clang/include/clang/AST/ |
D | ExprObjC.h | 130 ObjCMethodDecl *BoxingMethod; variable 138 BoxingMethod(method), Range(R) { in ObjCBoxedExpr() 148 return BoxingMethod; in getBoxingMethod() 154 return !BoxingMethod && SubExpr; in isExpressibleAsConstantInitializer()
|
/external/clang/lib/CodeGen/ |
D | CGObjC.cpp | 63 const ObjCMethodDecl *BoxingMethod = E->getBoxingMethod(); in EmitObjCBoxedExpr() local 65 assert(BoxingMethod && "BoxingMethod is null"); in EmitObjCBoxedExpr() 66 assert(BoxingMethod->isClassMethod() && "BoxingMethod must be a class method"); in EmitObjCBoxedExpr() 67 Selector Sel = BoxingMethod->getSelector(); in EmitObjCBoxedExpr() 73 const ObjCInterfaceDecl *ClassDecl = BoxingMethod->getClassInterface(); in EmitObjCBoxedExpr() 77 const ParmVarDecl *ArgDecl = *BoxingMethod->param_begin(); in EmitObjCBoxedExpr() 97 const ParmVarDecl *EncodingDecl = BoxingMethod->parameters()[1]; in EmitObjCBoxedExpr() 107 *this, ReturnValueSlot(), BoxingMethod->getReturnType(), Sel, Receiver, in EmitObjCBoxedExpr() 108 Args, ClassDecl, BoxingMethod); in EmitObjCBoxedExpr()
|
/external/clang/include/clang/AST/ |
D | ExprObjC.h | 96 ObjCMethodDecl *BoxingMethod; variable 104 SubExpr(E), BoxingMethod(method), Range(R) {} in ObjCBoxedExpr() 112 return BoxingMethod; in getBoxingMethod()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGObjC.cpp | 64 const ObjCMethodDecl *BoxingMethod = E->getBoxingMethod(); in EmitObjCBoxedExpr() local 72 assert(BoxingMethod->isClassMethod() && "BoxingMethod must be a class method"); in EmitObjCBoxedExpr() 73 Selector Sel = BoxingMethod->getSelector(); in EmitObjCBoxedExpr() 79 const ObjCInterfaceDecl *ClassDecl = BoxingMethod->getClassInterface(); in EmitObjCBoxedExpr() 83 const ParmVarDecl *ArgDecl = *BoxingMethod->param_begin(); in EmitObjCBoxedExpr() 103 const ParmVarDecl *EncodingDecl = BoxingMethod->parameters()[1]; in EmitObjCBoxedExpr() 113 *this, ReturnValueSlot(), BoxingMethod->getReturnType(), Sel, Receiver, in EmitObjCBoxedExpr() 114 Args, ClassDecl, BoxingMethod); in EmitObjCBoxedExpr()
|
/external/llvm-project/clang/lib/AST/ |
D | TextNodeDumper.cpp | 1258 if (auto *BoxingMethod = Node->getBoxingMethod()) { in VisitObjCBoxedExpr() local 1260 BoxingMethod->getSelector().print(OS); in VisitObjCBoxedExpr()
|
/external/clang/lib/AST/ |
D | ASTDumper.cpp | 2212 if (auto *BoxingMethod = Node->getBoxingMethod()) { in VisitObjCBoxedExpr() local 2214 BoxingMethod->getSelector().print(OS); in VisitObjCBoxedExpr()
|
/external/llvm-project/clang/lib/Frontend/Rewrite/ |
D | RewriteModernObjC.cpp | 2638 ObjCMethodDecl *BoxingMethod = Exp->getBoxingMethod(); in RewriteObjCBoxedExpr() local 2639 ObjCInterfaceDecl *BoxingClass = BoxingMethod->getClassInterface(); in RewriteObjCBoxedExpr() 2651 getStringLiteral(BoxingMethod->getSelector().getAsString())); in RewriteObjCBoxedExpr() 2671 for (const auto PI : BoxingMethod->parameters()) in RewriteObjCBoxedExpr() 2687 getSimpleFunctionType(returnType, ArgTypes, BoxingMethod->isVariadic()); in RewriteObjCBoxedExpr()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteModernObjC.cpp | 2632 ObjCMethodDecl *BoxingMethod = Exp->getBoxingMethod(); in RewriteObjCBoxedExpr() local 2633 ObjCInterfaceDecl *BoxingClass = BoxingMethod->getClassInterface(); in RewriteObjCBoxedExpr() 2645 getStringLiteral(BoxingMethod->getSelector().getAsString())); in RewriteObjCBoxedExpr() 2665 for (const auto PI : BoxingMethod->parameters()) in RewriteObjCBoxedExpr() 2682 getSimpleFunctionType(returnType, ArgTypes, BoxingMethod->isVariadic()); in RewriteObjCBoxedExpr()
|
/external/llvm-project/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 1411 E->BoxingMethod = readDeclAs<ObjCMethodDecl>(); in VisitObjCBoxedExpr()
|
/external/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 972 E->BoxingMethod = ReadDeclAs<ObjCMethodDecl>(Record, Idx); in VisitObjCBoxedExpr()
|