Lines Matching defs:Class
22 class Expr;
23 class Stmt;
24 class FunctionDecl;
25 class RecordDecl;
26 class ObjCIvarDecl;
27 class ObjCMethodDecl;
28 class ObjCProtocolDecl;
29 class ObjCCategoryDecl;
30 class ObjCPropertyDecl;
31 class ObjCPropertyImplDecl;
32 class CXXCtorInitializer;
34 class ObjCListBase {
52 /// ObjCList - This is a simple template class used to hold various lists of
57 class ObjCList : public ObjCListBase {
75 class ObjCProtocolList : public ObjCList<ObjCProtocolDecl> {
92 /// ObjCMethodDecl - Represents an instance or class method declaration.
93 /// ObjC methods can be declared within 4 contexts: class interfaces,
94 /// categories, protocols, and class implementations. While C++ member
106 /// Getter class method:
112 class ObjCMethodDecl : public NamedDecl, public DeclContext {
121 /// instance (true) or class (false) method.
167 // FIXME: space savings opportunity, consider a sub-class.
420 friend class ASTDeclReader;
421 friend class ASTDeclWriter;
428 class ObjCContainerDecl : public NamedDecl, public DeclContext {
450 // Iterator access to instance/class methods.
479 // Get the local instance/class method declared in this interface.
522 /// ObjCInterfaceDecl - Represents an ObjC class declaration. For example:
524 /// // MostPrimitive declares no super class (not particularly useful).
538 /// Unlike C/C++, forward class declarations are accomplished with @class.
539 /// Unlike C/C++, @class allows for a list of classes to be forward declared.
540 /// Unlike C++, ObjC is a single-rooted class model. In Cocoa, classes
543 class ObjCInterfaceDecl : public ObjCContainerDecl {
547 friend class ASTContext;
549 /// Class's super class.
555 /// Protocols reference in both the @interface and class extensions.
558 /// \brief List of categories and class extensions defined for this class.
561 /// and class extensions come long after the initial interface declaration,
565 /// IvarList - List of all ivars defined by this class; including class
569 /// \brief True if it was initially declared with @class.
574 bool ForwardDecl:1; // declared with @class.
577 /// \brief Indicates that the contents of this Objective-C class will be
581 SourceLocation SuperClassLoc; // location of the super class identifier.
596 /// \brief Indicate that this Objective-C class is complete, but that
598 /// when a complete class is required.
613 // Get the local instance/class method declared in a category.
695 /// mergeClassExtensionProtocolList - Merge class extension's protocol list
696 /// into the protocol list for this class.
701 /// \brief True if it was initially declared with @class.
734 /// isSuperClassOf - Return true if this class is the specified class or is a
735 /// super class of the specified interface class.
746 /// isArcWeakrefUnavailable - Checks for a class or one of its super classes
749 const ObjCInterfaceDecl *Class = this;
750 while (Class) {
751 if (Class->hasAttr<ArcWeakrefUnavailableAttr>())
753 Class = Class->getSuperClass();
766 // found, we search referenced protocols and class categories.
794 /// has been implemented in IDecl class, its super class or categories (if
808 friend class ASTDeclReader;
809 friend class ASTDeclWriter;
827 class ObjCIvarDecl : public FieldDecl {
850 /// \brief Return the class interface that this ivar is logically contained
876 /// NextIvar - Next Ivar in the list of ivars declared in class; class's
877 /// extensions and class's implementation
888 class ObjCAtDefsFieldDecl : public FieldDecl {
928 /// an NSObject protocol and class (which isn't allowed in Java). As a result,
933 class ObjCProtocolDecl : public ObjCContainerDecl {
982 // found, we search referenced protocols and class categories.
1008 friend class ASTDeclReader;
1009 friend class ASTDeclWriter;
1012 /// ObjCClassDecl - Specifies a list of forward class declarations. For example:
1014 /// @class NSCursor, NSImage, NSPasteboard, NSWindow;
1016 class ObjCClassDecl : public Decl {
1018 class ObjCClassRef {
1054 class ObjCForwardProtocolDecl : public Decl {
1097 /// you to add methods to an existing class (without subclassing or modifying
1098 /// the original class interface or implementation:-). Categories don't allow
1106 /// Categories also allow you to split the implementation of a class across
1110 /// Lisp and Smalltalk. More traditional class-based languages (C++, Java)
1113 class ObjCCategoryDecl : public ObjCContainerDecl {
1120 /// Next category belonging to this class.
1124 /// true of class extension has at least one bitfield ivar.
1205 friend class ASTDeclReader;
1206 friend class ASTDeclWriter;
1209 class ObjCImplDecl : public ObjCContainerDecl {
1210 /// Class interface for this class/category implementation
1259 /// ObjCCategoryImplDecl - An object of this class encapsulates a category
1260 /// @implementation declaration. If a category class has declaration of a
1272 class ObjCCategoryImplDecl : public ObjCImplDecl {
1293 /// returns the class interface name, whereas
1303 /// getName - Get the name of identifier for the class interface associated
1312 /// getNameAsCString - Get the name of identifier for the class
1321 /// @brief Get the name of the class associated with this interface.
1336 /// ObjCImplementationDecl - Represents a class definition - this is where
1345 /// Typically, instance variables are specified in the class interface,
1350 class ObjCImplementationDecl : public ObjCImplDecl {
1351 /// Implementation Class's super class.
1358 /// true if class has a .cxx_[construct,destruct] method.
1361 /// true of class extension has at least one bitfield ivar.
1416 /// getIdentifier - Get the identifier that names the class
1422 /// getName - Get the name of identifier for the class interface associated
1432 /// getNameAsCString - Get the name of identifier for the class
1441 /// @brief Get the name of the class associated with this interface.
1471 friend class ASTDeclReader;
1472 friend class ASTDeclWriter;
1478 /// ObjCCompatibleAliasDecl - Represents alias of a class. This alias is
1479 /// declared as @compatibility_alias alias class.
1480 class ObjCCompatibleAliasDecl : public NamedDecl {
1481 /// Class that this is an alias of.
1506 class ObjCPropertyDecl : public NamedDecl {
1669 /// in a class or category implementation block. For example:
1672 class ObjCPropertyImplDecl : public Decl {
1764 friend class ASTDeclReader;