Home | History | Annotate | Download | only in Sema

Lines Matching defs: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
455 Decl *Sema::
459 Decl * const *ProtoRefs, unsigned NumProtoRefs,
477 // A previous decl with a different name is because of
483 // A lookup for 'OldImage' will return the 'NewImage' decl.
546 // The previous declaration was not a class decl. Check if we have a
609 void Sema::ActOnTypedefedProtocols(SmallVectorImpl<Decl *> &ProtocolRefs,
630 Decl *Sema::ActOnCompatibilityAlias(SourceLocation AtLoc,
702 Decl *
706 Decl * const *ProtoRefs,
788 SmallVectorImpl<Decl *> &Protocols) {
862 SmallVector<Decl *, 8> DeclsInGroup;
887 Decl *Sema::
892 Decl * const *ProtoRefs,
906 // the enclosing method declarations. We mark the decl invalid
956 Decl *Sema::ActOnStartCategoryImplementation(
1015 Decl *Sema::ActOnStartClassImplementation(
1080 // Build, chain & install the interface decl into the identifier.
1132 Sema::ActOnFinishObjCImplementation(Decl *ObjCImpDecl, ArrayRef<Decl *> Decls) {
1133 SmallVector<Decl *, 64> DeclsInGroup;
1137 Decl *Dcl = Decls[i];
1153 assert(ImpDecl && "missing implementation decl");
1157 /// Check case of non-existing \@interface decl.
1158 /// (legacy objective-c \@implementation decl without an \@interface decl).
1485 ObjCMethodDecl *decl) {
1487 ObjCMethodFamily declFamily = decl->getMethodFamily();
1496 if (impl->isInvalidDecl() || decl->isInvalidDecl()) return true;
1503 unmatched = decl;
1548 S.Diag(decl->getLocation(), noteID) << int(familySelector) << int(reasonSelector);
2023 SmallVector<Decl *, 8> DeclsInGroup;
2060 // A previous decl with a different name is because of
2066 // A lookup for 'OldImage' will return the 'NewImage' decl.
2277 if (cast<Decl>(Method->getDeclContext())->isInvalidDecl())
2526 case Decl::ObjCInterface:
2528 case Decl::ObjCProtocol:
2530 case Decl::ObjCCategory:
2535 case Decl::ObjCImplementation:
2537 case Decl::ObjCCategoryImpl:
2546 Decl *Sema::ActOnAtEnd(Scope *S, SourceRange AtEnd, ArrayRef<Decl *> allMethods,
2554 Decl *ClassDecl = cast<Decl>(OCD);
2714 // Find category interface decl and then check that all methods declared
2750 static Decl::ObjCDeclQualifier
2752 return (Decl::ObjCDeclQualifier) (unsigned) PQTVal;
2848 case Decl::type: \
2849 searchFrom(cast<type##Decl>(container)); \
2852 #define DECL(type, base) \
2853 case Decl::type:
3043 Decl *Sema::ActOnMethodDeclaration(
3062 Decl *ClassDecl = cast<Decl>(OCD);
3265 bool Sema::CheckObjCDeclScope(Decl *D) {
3284 void Sema::ActOnDefs(Scope *S, Decl *TagD, SourceLocation DeclStart,
3286 SmallVectorImpl<Decl*> &Decls) {
3305 Decl *FD = ObjCAtDefsFieldDecl::Create(Context, Record,
3314 for (SmallVectorImpl<Decl*>::iterator D = Decls.begin();
3366 Decl *Sema::ActOnObjCExceptionDecl(Scope *S, Declarator &D) {