Home | History | Annotate | Download | only in Sema

Lines Matching defs:DECL

255 void Sema::AddAnyMethodToGlobalPool(Decl *D) {
258 // If we don't have a valid method decl, simply return.
269 void Sema::ActOnStartOfObjCMethodDef(Scope *FnBodyScope, Decl *D) {
273 // If we don't have a valid method decl, simply return.
281 // Create Decl objects for each parameter, entrring them in the scope for
374 Decl *Sema::
378 Decl * const *ProtoRefs, unsigned NumProtoRefs,
450 // The previous declaration was not a class decl. Check if we have a
506 Decl *Sema::ActOnCompatiblityAlias(SourceLocation AtLoc,
581 Decl *
585 Decl * const *ProtoRefs,
652 SmallVectorImpl<Decl *> &Protocols) {
721 SmallVector<Decl *, 8> DeclsInGroup;
746 Decl *Sema::
751 Decl * const *ProtoRefs,
765 // the enclosing method declarations. We mark the decl invalid
819 Decl *Sema::ActOnStartCategoryImplementation(
877 Decl *Sema::ActOnStartClassImplementation(
946 // Build, chain & install the interface decl into the identifier.
997 Sema::ActOnFinishObjCImplementation(Decl *ObjCImpDecl, ArrayRef<Decl *> Decls) {
998 SmallVector<Decl *, 64> DeclsInGroup;
1002 Decl *Dcl = Decls[i];
1018 assert(ImpDecl && "missing implementation decl");
1022 /// Check case of non-existing @interface decl.
1023 /// (legacy objective-c @implementation decl without an @interface decl).
1322 ObjCMethodDecl *decl) {
1324 ObjCMethodFamily declFamily = decl->getMethodFamily();
1333 if (impl->isInvalidDecl() || decl->isInvalidDecl()) return true;
1340 unmatched = decl;
1385 S.Diag(decl->getLocation(), noteID) << familySelector << reasonSelector;
1799 SmallVector<Decl *, 8> DeclsInGroup;
2026 if (cast<Decl>(Method->getDeclContext())->isInvalidDecl())
2146 void Sema::CompareMethodParamsInBaseAndSuper(Decl *ClassDecl,
2205 case Decl::ObjCInterface:
2207 case Decl::ObjCProtocol:
2209 case Decl::ObjCCategory:
2214 case Decl::ObjCImplementation:
2216 case Decl::ObjCCategoryImpl:
2226 Decl *Sema::ActOnAtEnd(Scope *S, SourceRange AtEnd,
2227 Decl **allMethods, unsigned allNum,
2228 Decl **allProperties, unsigned pNum,
2237 Decl *ClassDecl = cast<Decl>(OCD);
2414 // Find category interface decl and then check that all methods declared
2452 static Decl::ObjCDeclQualifier
2454 return (Decl::ObjCDeclQualifier) (unsigned) PQTVal;
2589 case Decl::type: \
2590 searchFrom(cast<type##Decl>(container)); \
2593 #define DECL(type, base) \
2594 case Decl::type:
2685 Decl *Sema::ActOnMethodDeclaration(
2704 Decl *ClassDecl = cast<Decl>(OCD);
2934 bool Sema::CheckObjCDeclScope(Decl *D) {
2953 void Sema::ActOnDefs(Scope *S, Decl *TagD, SourceLocation DeclStart,
2955 SmallVectorImpl<Decl*> &Decls) {
2974 Decl *FD = ObjCAtDefsFieldDecl::Create(Context, Record,
2983 for (SmallVectorImpl<Decl*>::iterator D = Decls.begin();
3035 Decl *Sema::ActOnObjCExceptionDecl(Scope *S, Declarator &D) {