We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de1a85f commit 2130946Copy full SHA for 2130946
clang/include/clang/AST/Type.h
@@ -6409,12 +6409,7 @@ class SpirvOperand {
6409
SpirvOperand(const SpirvOperand &Other) { *this = Other; }
6410
~SpirvOperand() {}
6411
6412
- SpirvOperand &operator=(const SpirvOperand &Other) {
6413
- this->Kind = Other.Kind;
6414
- this->ResultType = Other.ResultType;
6415
- this->Value = Other.Value;
6416
- return *this;
6417
- }
+ SpirvOperand &operator=(const SpirvOperand &Other) = default;
6418
6419
bool operator==(const SpirvOperand &Other) const {
6420
return Kind == Other.Kind && ResultType == Other.ResultType &&
0 commit comments