Home
last modified time | relevance | path

Searched refs:metaclass (Results 1 – 21 of 21) sorted by relevance

/llvm-project/clang/test/CodeGenObjC/
H A Dgnustep2-class.m25 // Check that we get a sensible metaclass method list.
29 // Check that we get a metaclass and that it is not an exposed symbol:
/llvm-project/lldb/examples/python/templates/
H A Dscripted_platform.py6 class ScriptedPlatform(metaclass=ABCMeta):
H A Dscripted_process.py7 class ScriptedProcess(metaclass=ABCMeta):
230 class ScriptedThread(metaclass=ABCMeta):
/llvm-project/cross-project-tests/debuginfo-tests/dexter/dex/command/
H A DCommandBase.py19 class CommandBase(object, metaclass=abc.ABCMeta):
/llvm-project/lld/MachO/
H A DObjC.h22 constexpr const char metaclass[] = "_OBJC_METACLASS_$_"; variable
H A DInputFiles.cpp1949 addSymbol(*symbol, objc::symbol_names::metaclass + symbol->getName());
/llvm-project/cross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerControllers/
H A DDebuggerControllerBase.py12 class DebuggerControllerBase(object, metaclass=abc.ABCMeta):
/llvm-project/cross-project-tests/debuginfo-tests/dexter/dex/tools/
H A DToolBase.py19 class ToolBase(object, metaclass=abc.ABCMeta):
/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCClassDescriptorV2.cpp563 AppleObjCRuntime::ClassDescriptorSP metaclass(GetMetaclass()); in Describe() local
565 // We don't care about the metaclass's superclass, or its class methods. in Describe()
568 if (metaclass) { in Describe()
569 metaclass->Describe( in Describe()
/llvm-project/mlir/include/mlir/Bindings/Python/
H A DPybindAdaptors.h342 py::object metaclass = pyType(superClass);
346 metaclass(derivedClassName, py::make_tuple(superClass), attributes);
/llvm-project/cross-project-tests/debuginfo-tests/dexter/dex/debugger/
H A DDebuggerBase.py37 class DebuggerBase(object, metaclass=abc.ABCMeta):
/llvm-project/clang/test/InstallAPI/
H A Dmismatching-objc-class-symbols.test40 int metaclass __asm("_OBJC_METACLASS_$_Suggestion");
/llvm-project/cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/
H A DVisualStudio.py62 DebuggerBase, metaclass=abc.ABCMeta
/llvm-project/cross-project-tests/debuginfo-tests/dexter/dex/utils/
H A DPrettyOutputBase.py60 class PrettyOutputBase(object, metaclass=abc.ABCMeta):
/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp6393 bool metaclass = ((flags & CLS_META) != 0);
6396 if (metaclass)
6406 if (!metaclass && baseProtocols.size() > 0) { in Write__class_ro_t_initializer()
6414 if (!metaclass && ivars.size() > 0) { in Write__class_ro_t_initializer()
6424 if (!metaclass && Properties.size() > 0) { in Write__class_ro_t_initializer()
6437 const ObjCInterfaceDecl *CDecl, bool metaclass) { in Write__class_ro_t_initializer()
6449 if (metaclass && rootClass) { in Write__class_ro_t_initializer()
6477 if (metaclass && RootClass != SuperClass) { in Write_class_t()
6495 if (metaclass) { in Write_class_t()
6526 if (metaclass) in Write_class_t()
6427 bool metaclass = ((flags & CLS_META) != 0); Write__class_ro_t_initializer() local
6471 Write_class_t(ASTContext * Context,std::string & Result,StringRef VarName,const ObjCInterfaceDecl * CDecl,bool metaclass) Write_class_t() argument
[all...]
/llvm-project/lldb/packages/Python/lldbsuite/test/
H A Dlldbtest.py386 class _BaseProcess(object, metaclass=abc.ABCMeta):
1805 # Setup the metaclass for this class to change the list of the test
1809 class TestBase(Base, metaclass=LLDBTestCaseFactory):
/llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb-server/
H A Dgdbremote_testcase.py58 class GdbRemoteTestCaseBase(Base, metaclass=GdbRemoteTestCaseFactory):
/llvm-project/clang/test/Index/
H A Dcomplete-objc-message.m352 // RootClasses metaclass subclasses from RootClass (i.e. RootClass is actually
/llvm-project/clang/lib/CodeGen/
H A DCGObjCGNU.cpp337 /// Placeholder for the metaclass. Lots of things refer to the class before
339 /// replace / it with a pointer to the metaclass structure before finally
928 /// This is a metaclass
1782 auto *metaclass = metaclassFields.finishAndCreateGlobal( in GenerateClass()
1788 classFields.add(metaclass); in GenerateClass()
2000 MetaClassPtrAlias->replaceAllUsesWith(metaclass); in GenerateClass()
2699 // Set up global aliases for the metaclass or class pointer if they do not in GenerateMessageSendSuper()
2701 // pointers to the class and metaclass structure created for the runtime in GenerateMessageSendSuper()
2703 // super_class pointer from either the class or metaclass structure. in GenerateMessageSendSuper()
3796 //Generate metaclass fo in GenerateClass()
1774 auto *metaclass = metaclassFields.finishAndCreateGlobal( GenerateClass() local
[all...]
H A DCGObjCMac.cpp1254 /// (i.e. metaclass ivars) is emitted, otherwise the list of
1261 /// for the metaclass of the given interface. The return value has
1265 /// EmitMetaClass - Emit a class structure for the metaclass of the
1456 /// (i.e. metaclass ivars) is emitted, otherwise the list of
2071 // If this is a class message the metaclass is passed as the target. in GenerateMessageSendSuper()
3589 "Forward metaclass reference has incorrect type."); in GenerateClass()
3613 // The isa for the metaclass is the root of the hierarchy. in EmitMetaClass()
3618 // The super class for the metaclass is emitted as the name of the in EmitMetaClass()
3620 // *metaclass* for the super class. in EmitMetaClass()
3637 // ivar_layout for metaclass i in EmitMetaClass()
7361 GetClassGlobal(const ObjCInterfaceDecl * ID,bool metaclass,ForDefinition_t isForDefinition) GetClassGlobal() argument
[all...]
/llvm-project/clang/docs/
H A DAutomaticReferenceCounting.rst120 every class *T* there's an associated metaclass; it has no fields, its
121 superclass is the metaclass of *T*'s superclass, and its metaclass is a global
122 class. Every class has a global object whose class is the class's metaclass;
131 can be invoked on objects of the metaclass. A method may be invoked by