mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
For PR778:
Move file-scoped documentation to class-scoped so it is more readily accessible. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28689 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -7,21 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// The AbstractTypeUser class is an interface to be implemented by classes who
|
||||
// could possible use an abstract type. Abstract types are denoted by the
|
||||
// isAbstract flag set to true in the Type class. These are classes that
|
||||
// contain an Opaque type in their structure somehow.
|
||||
//
|
||||
// Classes must implement this interface so that they may be notified when an
|
||||
// abstract type is resolved. Abstract types may be resolved into more concrete
|
||||
// types through: linking, parsing, and bytecode reading. When this happens,
|
||||
// all of the users of the type must be updated to reference the new, more
|
||||
// concrete type. They are notified through the AbstractTypeUser interface.
|
||||
//
|
||||
// In addition to this, AbstractTypeUsers must keep the use list of the
|
||||
// potentially abstract type that they reference up-to-date. To do this in a
|
||||
// nice, transparent way, the PATypeHandle class is used to hold "Potentially
|
||||
// Abstract Types", and keep the use list of the abstract types up-to-date.
|
||||
// This file declares the AbstractTypeUser class.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
@@ -42,6 +28,23 @@ namespace llvm {
|
||||
class Type;
|
||||
class DerivedType;
|
||||
|
||||
/// The AbstractTypeUser class is an interface to be implemented by classes who
|
||||
/// could possibly use an abstract type. Abstract types are denoted by the
|
||||
/// isAbstract flag set to true in the Type class. These are classes that
|
||||
/// contain an Opaque type in their structure somewhere.
|
||||
///
|
||||
/// Classes must implement this interface so that they may be notified when an
|
||||
/// abstract type is resolved. Abstract types may be resolved into more
|
||||
/// concrete types through: linking, parsing, and bytecode reading. When this
|
||||
/// happens, all of the users of the type must be updated to reference the new,
|
||||
/// more concrete type. They are notified through the AbstractTypeUser
|
||||
/// interface.
|
||||
///
|
||||
/// In addition to this, AbstractTypeUsers must keep the use list of the
|
||||
/// potentially abstract type that they reference up-to-date. To do this in a
|
||||
/// nice, transparent way, the PATypeHandle class is used to hold "Potentially
|
||||
/// Abstract Types", and keep the use list of the abstract types up-to-date.
|
||||
/// @brief LLVM Abstract Type User Representation
|
||||
class AbstractTypeUser {
|
||||
protected:
|
||||
virtual ~AbstractTypeUser(); // Derive from me
|
||||
|
Reference in New Issue
Block a user