forked from OSchip/llvm-project
Fix class description for Attributes: the instance of the class aren't uniqued, the class has reference semantics.
PiperOrigin-RevId: 239598522
This commit is contained in:
parent
e21c101037
commit
de81d65e9d
|
@ -61,9 +61,10 @@ class AttributeListStorage;
|
||||||
|
|
||||||
/// Attributes are known-constant values of operations and functions.
|
/// Attributes are known-constant values of operations and functions.
|
||||||
///
|
///
|
||||||
/// Instances of the Attribute class are immutable, uniqued, immortal, and owned
|
/// Instances of the Attribute class are references to immutable, uniqued,
|
||||||
/// by MLIRContext. As such, an Attribute is a POD interface to an underlying
|
/// and immortal values owned by MLIRContext. As such, an Attribute is a thin
|
||||||
/// storage pointer.
|
/// wrapper around an underlying storage pointer. Attributes are usually passed
|
||||||
|
/// by value.
|
||||||
class Attribute {
|
class Attribute {
|
||||||
public:
|
public:
|
||||||
enum class Kind {
|
enum class Kind {
|
||||||
|
|
Loading…
Reference in New Issue