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:
Mehdi Amini 2019-03-21 08:21:21 -07:00 committed by jpienaar
parent e21c101037
commit de81d65e9d
1 changed files with 4 additions and 3 deletions

View File

@ -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 {