Home
last modified time | relevance | path

Searched refs:MethodDecl (Results 1 – 18 of 18) 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.cpp70 const ObjCMethodDecl *MethodDecl, bool ResultAnnotated);
80 const ObjCMethodDecl *MethodDecl);
1453 const ObjCMethodDecl *MethodDecl, in AddCFAnnotations() argument
1468 ObjCMethodFamily OMF = MethodDecl->getMethodFamily(); in AddCFAnnotations()
1487 commit.insertBefore(MethodDecl->getLocEnd(), AnnotationString); in AddCFAnnotations()
1493 for (ObjCMethodDecl::param_const_iterator pi = MethodDecl->param_begin(), in AddCFAnnotations()
1494 pe = MethodDecl->param_end(); pi != pe; ++pi, ++i) { in AddCFAnnotations()
1508 const ObjCMethodDecl *MethodDecl) { in migrateAddMethodAnnotation() argument
1509 if (MethodDecl->hasBody() || MethodDecl->isImplicit()) in migrateAddMethodAnnotation()
1512 CallEffects CE = CallEffects::getEffect(MethodDecl); in migrateAddMethodAnnotation()
[all …]
/external/clang/lib/AST/
DDeclObjC.cpp555 ObjCMethodDecl *MethodDecl = nullptr; in lookupMethod() local
561 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance))) in lookupMethod()
562 return MethodDecl; in lookupMethod()
566 if ((MethodDecl = I->lookupMethod(Sel, isInstance))) in lookupMethod()
567 return MethodDecl; in lookupMethod()
571 if ((MethodDecl = Cat->getMethod(Sel, isInstance))) in lookupMethod()
572 if (C != Cat || !MethodDecl->isImplicit()) in lookupMethod()
573 return MethodDecl; in lookupMethod()
581 if ((MethodDecl = (*I)->lookupMethod(Sel, isInstance))) in lookupMethod()
582 if (C != Cat || !MethodDecl->isImplicit()) in lookupMethod()
[all …]
DASTContext.cpp8251 ASTContext::ObjCMethodsAreEqual(const ObjCMethodDecl *MethodDecl, in ObjCMethodsAreEqual() argument
8254 if (MethodDecl->hasAttr<UnavailableAttr>() in ObjCMethodsAreEqual()
8255 || MethodDecl->hasAttr<DeprecatedAttr>()) in ObjCMethodsAreEqual()
8257 if (MethodDecl->getObjCDeclQualifier() != in ObjCMethodsAreEqual()
8260 if (!hasSameType(MethodDecl->getReturnType(), MethodImpl->getReturnType())) in ObjCMethodsAreEqual()
8263 if (MethodDecl->param_size() != MethodImpl->param_size()) in ObjCMethodsAreEqual()
8267 IF = MethodDecl->param_begin(), EM = MethodImpl->param_end(), in ObjCMethodsAreEqual()
8268 EF = MethodDecl->param_end(); in ObjCMethodsAreEqual()
8277 return (MethodDecl->isVariadic() == MethodImpl->isVariadic()); in ObjCMethodsAreEqual()
/external/clang/lib/Sema/
DSemaDeclObjC.cpp1352 ObjCMethodDecl *MethodDecl, in CheckMethodOverrideReturn() argument
1357 (MethodDecl->getObjCDeclQualifier() != in CheckMethodOverrideReturn()
1366 S.Diag(MethodDecl->getLocation(), diag::note_previous_declaration) in CheckMethodOverrideReturn()
1367 << getTypeRange(MethodDecl->getReturnTypeSourceInfo()); in CheckMethodOverrideReturn()
1374 MethodDecl->getReturnType())) in CheckMethodOverrideReturn()
1388 MethodDecl->getReturnType()->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideReturn()
1403 << MethodImpl->getDeclName() << MethodDecl->getReturnType() in CheckMethodOverrideReturn()
1406 S.Diag(MethodDecl->getLocation(), IsOverridingMode in CheckMethodOverrideReturn()
1409 << getTypeRange(MethodDecl->getReturnTypeSourceInfo()); in CheckMethodOverrideReturn()
1415 ObjCMethodDecl *MethodDecl, in CheckMethodOverrideParam() argument
[all …]
DSemaExpr.cpp11457 } else if (CXXMethodDecl *MethodDecl = dyn_cast<CXXMethodDecl>(Func)) { in MarkFunctionReferenced() local
11458 if (MethodDecl->isOverloadedOperator() && in MarkFunctionReferenced()
11459 MethodDecl->getOverloadedOperator() == OO_Equal) { in MarkFunctionReferenced()
11460 MethodDecl = cast<CXXMethodDecl>(MethodDecl->getFirstDecl()); in MarkFunctionReferenced()
11461 if (MethodDecl->isDefaulted() && !MethodDecl->isDeleted()) { in MarkFunctionReferenced()
11462 if (MethodDecl->isCopyAssignmentOperator()) in MarkFunctionReferenced()
11463 DefineImplicitCopyAssignment(Loc, MethodDecl); in MarkFunctionReferenced()
11465 DefineImplicitMoveAssignment(Loc, MethodDecl); in MarkFunctionReferenced()
11467 } else if (isa<CXXConversionDecl>(MethodDecl) && in MarkFunctionReferenced()
11468 MethodDecl->getParent()->isLambda()) { in MarkFunctionReferenced()
[all …]
DSemaDeclAttr.cpp109 if (const CXXMethodDecl *MethodDecl = dyn_cast<CXXMethodDecl>(D)) in isInstanceMethod() local
110 return MethodDecl->isInstance(); in isInstanceMethod()
DSemaDeclCXX.cpp10980 if (CXXMethodDecl *MethodDecl = dyn_cast<CXXMethodDecl>(FnDecl)) { in CheckOverloadedOperatorDeclaration() local
10981 if (MethodDecl->isStatic()) in CheckOverloadedOperatorDeclaration()
/external/lldb/include/lldb/Expression/
DASTResultSynthesizer.h132 bool SynthesizeObjCMethodResult(clang::ObjCMethodDecl *MethodDecl);
/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.h2725 ObjCMethodDecl *MethodDecl,
2735 ObjCMethodDecl *MethodDecl,
4089 CXXMethodDecl *MethodDecl);
4102 CXXMethodDecl *MethodDecl);
/external/clang/include/clang/AST/
DASTContext.h1811 bool ObjCMethodsAreEqual(const ObjCMethodDecl *MethodDecl,