Home | History | Annotate | Download | only in Sema

Lines Matching refs:decl

273 void Sema::AddAnyMethodToGlobalPool(Decl *D) {
276 // If we don't have a valid method decl, simply return.
306 void Sema::ActOnStartOfObjCMethodDef(Scope *FnBodyScope, Decl *D) {
310 // If we don't have a valid method decl, simply return.
318 // Create Decl objects for each parameter, entrring them in the scope for
444 Decl *Sema::
448 Decl * const *ProtoRefs, unsigned NumProtoRefs,
466 // A previous decl with a different name is because of
472 // A lookup for 'OldImage' will return the 'NewImage' decl.
537 // The previous declaration was not a class decl. Check if we have a
599 Decl *Sema::ActOnCompatibilityAlias(SourceLocation AtLoc,
671 Decl *
675 Decl * const *ProtoRefs,
742 SmallVectorImpl<Decl *> &Protocols) {
816 SmallVector<Decl *, 8> DeclsInGroup;
841 Decl *Sema::
846 Decl * const *ProtoRefs,
860 // the enclosing method declarations. We mark the decl invalid
910 Decl *Sema::ActOnStartCategoryImplementation(
969 Decl *Sema::ActOnStartClassImplementation(
1038 // Build, chain & install the interface decl into the identifier.
1090 Sema::ActOnFinishObjCImplementation(Decl *ObjCImpDecl, ArrayRef<Decl *> Decls) {
1091 SmallVector<Decl *, 64> DeclsInGroup;
1095 Decl *Dcl = Decls[i];
1111 assert(ImpDecl && "missing implementation decl");
1115 /// Check case of non-existing \@interface decl.
1116 /// (legacy objective-c \@implementation decl without an \@interface decl).
1441 ObjCMethodDecl *decl) {
1443 ObjCMethodFamily declFamily = decl->getMethodFamily();
1452 if (impl->isInvalidDecl() || decl->isInvalidDecl()) return true;
1459 unmatched = decl;
1504 S.Diag(decl->getLocation(), noteID) << int(familySelector) << int(reasonSelector);
1929 SmallVector<Decl *, 8> DeclsInGroup;
1966 // A previous decl with a different name is because of
1972 // A lookup for 'OldImage' will return the 'NewImage' decl.
2183 if (cast<Decl>(Method->getDeclContext())->isInvalidDecl())
2476 case Decl::ObjCInterface:
2478 case Decl::ObjCProtocol:
2480 case Decl::ObjCCategory:
2485 case Decl::ObjCImplementation:
2487 case Decl::ObjCCategoryImpl:
2496 Decl *Sema::ActOnAtEnd(Scope *S, SourceRange AtEnd, ArrayRef<Decl *> allMethods,
2504 Decl *ClassDecl = cast<Decl>(OCD);
2671 // Find category interface decl and then check that all methods declared
2707 static Decl::ObjCDeclQualifier
2709 return (Decl::ObjCDeclQualifier) (unsigned) PQTVal;
2863 case Decl::type: \
2864 searchFrom(cast<type##Decl>(container)); \
2867 #define DECL(type, base) \
2868 case Decl::type:
3062 Decl *Sema::ActOnMethodDeclaration(
3081 Decl *ClassDecl = cast<Decl>(OCD);
3290 bool Sema::CheckObjCDeclScope(Decl *D) {
3309 void Sema::ActOnDefs(Scope *S, Decl *TagD, SourceLocation DeclStart,
3311 SmallVectorImpl<Decl*> &Decls) {
3330 Decl *FD = ObjCAtDefsFieldDecl::Create(Context, Record,
3339 for (SmallVectorImpl<Decl*>::iterator D = Decls.begin();
3391 Decl *Sema::ActOnObjCExceptionDecl(Scope *S, Declarator &D) {