File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -960,9 +960,12 @@ struct OperationState {
960
960
// / Regions that the op will hold.
961
961
SmallVector<std::unique_ptr<Region>, 1 > regions;
962
962
963
- // If we're creating an unregistered operation, this Attribute is used to
964
- // build the properties. Otherwise it is ignored. For registered operations
965
- // see the `getOrAddProperties` method.
963
+ // / This Attribute is used to opaquely construct the properties of the
964
+ // / operation. If we're creating an unregistered operation, the Attribute is
965
+ // / used as-is as the Properties storage of the operation. Otherwise, the
966
+ // / operation properties are constructed opaquely using its
967
+ // / `setPropertiesFromAttr` hook. Note that `getOrAddProperties` is the
968
+ // / preferred method to construct properties from C++.
966
969
Attribute propertiesAttr;
967
970
968
971
private:
You can’t perform that action at this time.
0 commit comments