Lines Matching refs:decl
272 void Sema::AddAnyMethodToGlobalPool(Decl *D) {
275 // If we don't have a valid method decl, simply return.
305 void Sema::ActOnStartOfObjCMethodDef(Scope *FnBodyScope, Decl *D) {
309 // If we don't have a valid method decl, simply return.
317 // Create Decl objects for each parameter, entrring them in the scope for
441 Decl *Sema::
445 Decl * const *ProtoRefs, unsigned NumProtoRefs,
517 // The previous declaration was not a class decl. Check if we have a
573 Decl *Sema::ActOnCompatibilityAlias(SourceLocation AtLoc,
648 Decl *
652 Decl * const *ProtoRefs,
719 SmallVectorImpl<Decl *> &Protocols) {
790 SmallVector<Decl *, 8> DeclsInGroup;
815 Decl *Sema::
820 Decl * const *ProtoRefs,
834 // the enclosing method declarations. We mark the decl invalid
884 Decl *Sema::ActOnStartCategoryImplementation(
942 Decl *Sema::ActOnStartClassImplementation(
1011 // Build, chain & install the interface decl into the identifier.
1062 Sema::ActOnFinishObjCImplementation(Decl *ObjCImpDecl, ArrayRef<Decl *> Decls) {
1063 SmallVector<Decl *, 64> DeclsInGroup;
1067 Decl *Dcl = Decls[i];
1083 assert(ImpDecl && "missing implementation decl");
1087 /// Check case of non-existing \@interface decl.
1088 /// (legacy objective-c \@implementation decl without an \@interface decl).
1396 ObjCMethodDecl *decl) {
1398 ObjCMethodFamily declFamily = decl->getMethodFamily();
1407 if (impl->isInvalidDecl() || decl->isInvalidDecl()) return true;
1414 unmatched = decl;
1459 S.Diag(decl->getLocation(), noteID) << familySelector << reasonSelector;
1898 SmallVector<Decl *, 8> DeclsInGroup;
2130 if (cast<Decl>(Method->getDeclContext())->isInvalidDecl())
2290 case Decl::ObjCInterface:
2292 case Decl::ObjCProtocol:
2294 case Decl::ObjCCategory:
2299 case Decl::ObjCImplementation:
2301 case Decl::ObjCCategoryImpl:
2311 Decl *Sema::ActOnAtEnd(Scope *S, SourceRange AtEnd,
2312 Decl **allMethods, unsigned allNum,
2313 Decl **allProperties, unsigned pNum,
2322 Decl *ClassDecl = cast<Decl>(OCD);
2489 // Find category interface decl and then check that all methods declared
2525 static Decl::ObjCDeclQualifier
2527 return (Decl::ObjCDeclQualifier) (unsigned) PQTVal;
2681 case Decl::type: \
2682 searchFrom(cast<type##Decl>(container)); \
2685 #define DECL(type, base) \
2686 case Decl::type:
2842 Decl *Sema::ActOnMethodDeclaration(
2861 Decl *ClassDecl = cast<Decl>(OCD);
3073 bool Sema::CheckObjCDeclScope(Decl *D) {
3092 void Sema::ActOnDefs(Scope *S, Decl *TagD, SourceLocation DeclStart,
3094 SmallVectorImpl<Decl*> &Decls) {
3113 Decl *FD = ObjCAtDefsFieldDecl::Create(Context, Record,
3122 for (SmallVectorImpl<Decl*>::iterator D = Decls.begin();
3174 Decl *Sema::ActOnObjCExceptionDecl(Scope *S, Declarator &D) {