Home
last modified time | relevance | path

Searched refs:MethodDecl (Results 1 – 21 of 21) sorted by relevance

/external/javassist/src/main/javassist/compiler/ast/
DMethodDecl.java20 public class MethodDecl extends ASTList { class
23 public MethodDecl(ASTree _head, ASTList _tail) { in MethodDecl() method in MethodDecl
DVisitor.java30 public void atMethodDecl(MethodDecl n) throws CompileError {} in atMethodDecl()
/external/clang/lib/ARCMigrate/
DObjCMT.cpp71 const ObjCMethodDecl *MethodDecl, bool ResultAnnotated);
81 const ObjCMethodDecl *MethodDecl);
1582 const ObjCMethodDecl *MethodDecl, in AddCFAnnotations() argument
1596 ObjCMethodFamily OMF = MethodDecl->getMethodFamily(); in AddCFAnnotations()
1614 commit.insertBefore(MethodDecl->getLocEnd(), AnnotationString); in AddCFAnnotations()
1620 for (ObjCMethodDecl::param_const_iterator pi = MethodDecl->param_begin(), in AddCFAnnotations()
1621 pe = MethodDecl->param_end(); pi != pe; ++pi, ++i) { in AddCFAnnotations()
1635 const ObjCMethodDecl *MethodDecl) { in migrateAddMethodAnnotation() argument
1636 if (MethodDecl->hasBody() || MethodDecl->isImplicit()) in migrateAddMethodAnnotation()
1639 CallEffects CE = CallEffects::getEffect(MethodDecl); in migrateAddMethodAnnotation()
[all …]
/external/clang/lib/AST/
DDeclObjC.cpp636 ObjCMethodDecl *MethodDecl = nullptr; in lookupMethod() local
643 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance))) in lookupMethod()
644 return MethodDecl; in lookupMethod()
648 if ((MethodDecl = Cat->getMethod(Sel, isInstance))) in lookupMethod()
649 if (C != Cat || !MethodDecl->isImplicit()) in lookupMethod()
650 return MethodDecl; in lookupMethod()
654 if ((MethodDecl = I->lookupMethod(Sel, isInstance))) in lookupMethod()
655 return MethodDecl; in lookupMethod()
665 if ((MethodDecl = (*I)->lookupMethod(Sel, isInstance))) in lookupMethod()
666 if (C != Cat || !MethodDecl->isImplicit()) in lookupMethod()
[all …]
DASTContext.cpp8880 ASTContext::ObjCMethodsAreEqual(const ObjCMethodDecl *MethodDecl, in ObjCMethodsAreEqual() argument
8883 if (MethodDecl->hasAttr<UnavailableAttr>() in ObjCMethodsAreEqual()
8884 || MethodDecl->hasAttr<DeprecatedAttr>()) in ObjCMethodsAreEqual()
8886 if (MethodDecl->getObjCDeclQualifier() != in ObjCMethodsAreEqual()
8889 if (!hasSameType(MethodDecl->getReturnType(), MethodImpl->getReturnType())) in ObjCMethodsAreEqual()
8892 if (MethodDecl->param_size() != MethodImpl->param_size()) in ObjCMethodsAreEqual()
8896 IF = MethodDecl->param_begin(), EM = MethodImpl->param_end(), in ObjCMethodsAreEqual()
8897 EF = MethodDecl->param_end(); in ObjCMethodsAreEqual()
8906 return (MethodDecl->isVariadic() == MethodImpl->isVariadic()); in ObjCMethodsAreEqual()
/external/clang/lib/Sema/
DSemaDeclObjC.cpp2202 ObjCMethodDecl *MethodDecl, in CheckMethodOverrideReturn() argument
2207 objcModifiersConflict(MethodDecl->getObjCDeclQualifier(), in CheckMethodOverrideReturn()
2216 S.Diag(MethodDecl->getLocation(), diag::note_previous_declaration) in CheckMethodOverrideReturn()
2217 << MethodDecl->getReturnTypeSourceRange(); in CheckMethodOverrideReturn()
2225 MethodDecl->getReturnType(), in CheckMethodOverrideReturn()
2230 *MethodDecl->getReturnType()->getNullability(S.Context); in CheckMethodOverrideReturn()
2239 ((MethodDecl->getObjCDeclQualifier() & Decl::OBJC_TQ_CSNullability) in CheckMethodOverrideReturn()
2241 S.Diag(MethodDecl->getLocation(), diag::note_previous_declaration); in CheckMethodOverrideReturn()
2245 MethodDecl->getReturnType())) in CheckMethodOverrideReturn()
2259 MethodDecl->getReturnType()->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideReturn()
[all …]
DSemaExpr.cpp12476 } else if (CXXMethodDecl *MethodDecl = dyn_cast<CXXMethodDecl>(Func)) { in MarkFunctionReferenced() local
12477 if (MethodDecl->isOverloadedOperator() && in MarkFunctionReferenced()
12478 MethodDecl->getOverloadedOperator() == OO_Equal) { in MarkFunctionReferenced()
12479 MethodDecl = cast<CXXMethodDecl>(MethodDecl->getFirstDecl()); in MarkFunctionReferenced()
12480 if (MethodDecl->isDefaulted() && !MethodDecl->isDeleted()) { in MarkFunctionReferenced()
12481 if (MethodDecl->isCopyAssignmentOperator()) in MarkFunctionReferenced()
12482 DefineImplicitCopyAssignment(Loc, MethodDecl); in MarkFunctionReferenced()
12484 DefineImplicitMoveAssignment(Loc, MethodDecl); in MarkFunctionReferenced()
12486 } else if (isa<CXXConversionDecl>(MethodDecl) && in MarkFunctionReferenced()
12487 MethodDecl->getParent()->isLambda()) { in MarkFunctionReferenced()
[all …]
DSemaDeclAttr.cpp134 if (const CXXMethodDecl *MethodDecl = dyn_cast<CXXMethodDecl>(D)) in isInstanceMethod() local
135 return MethodDecl->isInstance(); in isInstanceMethod()
DSemaDeclCXX.cpp11624 if (CXXMethodDecl *MethodDecl = dyn_cast<CXXMethodDecl>(FnDecl)) { in CheckOverloadedOperatorDeclaration() local
11625 if (MethodDecl->isStatic()) in CheckOverloadedOperatorDeclaration()
/external/javassist/src/main/javassist/compiler/
DParser.java34 if (mem instanceof MethodDecl) in parseMember()
35 return parseMethod2(tbl, (MethodDecl)mem); in parseMember()
58 name = MethodDecl.initName; in parseMember1()
103 private MethodDecl parseMethod1(SymbolTable tbl, boolean isConstructor, in parseMethod1()
138 return new MethodDecl(mods, new ASTList(d, in parseMethod1()
144 public MethodDecl parseMethod2(SymbolTable tbl, MethodDecl md) in parseMethod2()
DJavac.java94 CtBehavior cb = compileMethod(p, (MethodDecl)mem); in compile()
141 private CtBehavior compileMethod(Parser p, MethodDecl md) in compileMethod()
DMemberCodeGen.java1099 public CtClass[] makeParamList(MethodDecl md) throws CompileError { in makeParamList()
1116 public CtClass[] makeThrowsList(MethodDecl md) throws CompileError { in makeThrowsList()
DCodeGen.java254 public void atMethodDecl(MethodDecl method) throws CompileError { in atMethodDecl()
/external/clang/include/clang/Sema/
DInitialization.h136 ObjCMethodDecl *MethodDecl; member
281 Result.MethodDecl = MD; in InitializeRelatedResult()
361 ObjCMethodDecl *getMethodDecl() const { return MethodDecl; } in getMethodDecl()
DSema.h2994 ObjCMethodDecl *MethodDecl,
3004 ObjCMethodDecl *MethodDecl,
4439 CXXMethodDecl *MethodDecl);
4452 CXXMethodDecl *MethodDecl);
/external/clang/lib/CodeGen/
DItaniumCXXABI.cpp1601 auto *MethodDecl = cast<CXXMethodDecl>(GD.getDecl()); in getVirtualFunctionPointer() local
1602 llvm::Value *VTable = CGF.GetVTablePtr(This, Ty, MethodDecl->getParent()); in getVirtualFunctionPointer()
1605 CGF.EmitVTablePtrCheckForCall(MethodDecl, VTable, in getVirtualFunctionPointer()
DMicrosoftCXXABI.cpp1811 auto *MethodDecl = cast<CXXMethodDecl>(GD.getDecl()); in getVirtualFunctionPointer() local
1812 llvm::Value *VTable = CGF.GetVTablePtr(VPtr, Ty, MethodDecl->getParent()); in getVirtualFunctionPointer()
/external/clang/include/clang/AST/
DASTContext.h2017 bool ObjCMethodsAreEqual(const ObjCMethodDecl *MethodDecl,
/external/guice/extensions/persist/lib/
Djavassist.jarMETA-INF/ META-INF/MANIFEST.MF javassist/ javassist/ByteArrayClassPath.class ByteArrayClassPath ...
/external/robolectric/v1/lib/main/
Djavassist-3.14.0-GA.jarMETA-INF/ META-INF/MANIFEST.MF javassist/ javassist/bytecode/ javassist/ ...
/external/guice/extensions/struts2/lib/
Djavassist.jarMETA-INF/ META-INF/MANIFEST.MF javassist/ javassist/ByteArrayClassPath.class ByteArrayClassPath ...