Home
last modified time | relevance | path

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

/external/lldb/source/Expression/
DASTResultSynthesizer.cpp176 ASTResultSynthesizer::SynthesizeObjCMethodResult (ObjCMethodDecl *MethodDecl) in SynthesizeObjCMethodResult() argument
183 if (!MethodDecl) in SynthesizeObjCMethodResult()
191 MethodDecl->print(os); in SynthesizeObjCMethodResult()
198 Stmt *method_body = MethodDecl->getBody(); in SynthesizeObjCMethodResult()
206 MethodDecl); in SynthesizeObjCMethodResult()
213 MethodDecl->print(os); in SynthesizeObjCMethodResult()
/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);
1596 const ObjCMethodDecl *MethodDecl, in AddCFAnnotations() argument
1611 ObjCMethodFamily OMF = MethodDecl->getMethodFamily(); in AddCFAnnotations()
1630 commit.insertBefore(MethodDecl->getLocEnd(), AnnotationString); in AddCFAnnotations()
1636 for (ObjCMethodDecl::param_const_iterator pi = MethodDecl->param_begin(), in AddCFAnnotations()
1637 pe = MethodDecl->param_end(); pi != pe; ++pi, ++i) { in AddCFAnnotations()
1651 const ObjCMethodDecl *MethodDecl) { in migrateAddMethodAnnotation() argument
1652 if (MethodDecl->hasBody() || MethodDecl->isImplicit()) in migrateAddMethodAnnotation()
1655 CallEffects CE = CallEffects::getEffect(MethodDecl); in migrateAddMethodAnnotation()
[all …]
/external/clang/lib/AST/
DDeclObjC.cpp555 ObjCMethodDecl *MethodDecl = nullptr; in lookupMethod() local
562 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance))) in lookupMethod()
563 return MethodDecl; in lookupMethod()
567 if ((MethodDecl = Cat->getMethod(Sel, isInstance))) in lookupMethod()
568 if (C != Cat || !MethodDecl->isImplicit()) in lookupMethod()
569 return MethodDecl; in lookupMethod()
573 if ((MethodDecl = I->lookupMethod(Sel, isInstance))) in lookupMethod()
574 return MethodDecl; in lookupMethod()
584 if ((MethodDecl = (*I)->lookupMethod(Sel, isInstance))) in lookupMethod()
585 if (C != Cat || !MethodDecl->isImplicit()) in lookupMethod()
[all …]
DASTContext.cpp8396 ASTContext::ObjCMethodsAreEqual(const ObjCMethodDecl *MethodDecl, in ObjCMethodsAreEqual() argument
8399 if (MethodDecl->hasAttr<UnavailableAttr>() in ObjCMethodsAreEqual()
8400 || MethodDecl->hasAttr<DeprecatedAttr>()) in ObjCMethodsAreEqual()
8402 if (MethodDecl->getObjCDeclQualifier() != in ObjCMethodsAreEqual()
8405 if (!hasSameType(MethodDecl->getReturnType(), MethodImpl->getReturnType())) in ObjCMethodsAreEqual()
8408 if (MethodDecl->param_size() != MethodImpl->param_size()) in ObjCMethodsAreEqual()
8412 IF = MethodDecl->param_begin(), EM = MethodImpl->param_end(), in ObjCMethodsAreEqual()
8413 EF = MethodDecl->param_end(); in ObjCMethodsAreEqual()
8422 return (MethodDecl->isVariadic() == MethodImpl->isVariadic()); in ObjCMethodsAreEqual()
/external/clang/lib/Sema/
DSemaDeclObjC.cpp1346 ObjCMethodDecl *MethodDecl, in CheckMethodOverrideReturn() argument
1351 (MethodDecl->getObjCDeclQualifier() != in CheckMethodOverrideReturn()
1360 S.Diag(MethodDecl->getLocation(), diag::note_previous_declaration) in CheckMethodOverrideReturn()
1361 << MethodDecl->getReturnTypeSourceRange(); in CheckMethodOverrideReturn()
1368 MethodDecl->getReturnType())) in CheckMethodOverrideReturn()
1382 MethodDecl->getReturnType()->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideReturn()
1397 << MethodImpl->getDeclName() << MethodDecl->getReturnType() in CheckMethodOverrideReturn()
1400 S.Diag(MethodDecl->getLocation(), IsOverridingMode in CheckMethodOverrideReturn()
1403 << MethodDecl->getReturnTypeSourceRange(); in CheckMethodOverrideReturn()
1409 ObjCMethodDecl *MethodDecl, in CheckMethodOverrideParam() argument
[all …]
DSemaExpr.cpp12145 } else if (CXXMethodDecl *MethodDecl = dyn_cast<CXXMethodDecl>(Func)) { in MarkFunctionReferenced() local
12146 if (MethodDecl->isOverloadedOperator() && in MarkFunctionReferenced()
12147 MethodDecl->getOverloadedOperator() == OO_Equal) { in MarkFunctionReferenced()
12148 MethodDecl = cast<CXXMethodDecl>(MethodDecl->getFirstDecl()); in MarkFunctionReferenced()
12149 if (MethodDecl->isDefaulted() && !MethodDecl->isDeleted()) { in MarkFunctionReferenced()
12150 if (MethodDecl->isCopyAssignmentOperator()) in MarkFunctionReferenced()
12151 DefineImplicitCopyAssignment(Loc, MethodDecl); in MarkFunctionReferenced()
12153 DefineImplicitMoveAssignment(Loc, MethodDecl); in MarkFunctionReferenced()
12155 } else if (isa<CXXConversionDecl>(MethodDecl) && in MarkFunctionReferenced()
12156 MethodDecl->getParent()->isLambda()) { in MarkFunctionReferenced()
[all …]
DSemaDeclAttr.cpp133 if (const CXXMethodDecl *MethodDecl = dyn_cast<CXXMethodDecl>(D)) in isInstanceMethod() local
134 return MethodDecl->isInstance(); in isInstanceMethod()
DSemaDeclCXX.cpp11583 if (CXXMethodDecl *MethodDecl = dyn_cast<CXXMethodDecl>(FnDecl)) { in CheckOverloadedOperatorDeclaration() local
11584 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/lldb/include/lldb/Expression/
DASTResultSynthesizer.h132 bool SynthesizeObjCMethodResult(clang::ObjCMethodDecl *MethodDecl);
/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.h2767 ObjCMethodDecl *MethodDecl,
2777 ObjCMethodDecl *MethodDecl,
4190 CXXMethodDecl *MethodDecl);
4203 CXXMethodDecl *MethodDecl);
/external/clang/include/clang/AST/
DASTContext.h1831 bool ObjCMethodsAreEqual(const ObjCMethodDecl *MethodDecl,
/external/robolectric/lib/main/
Djavassist-3.14.0-GA.jarMETA-INF/ META-INF/MANIFEST.MF javassist/ javassist/bytecode/ javassist/ ...