File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,10 @@ class SYCLBIN {
2525 SYCLBIN (MemoryBufferRef Source) : Data{Source} {}
2626
2727 SYCLBIN (const SYCLBIN &Other) = delete ;
28+ SYCLBIN (SYCLBIN &&Other) = default ;
29+
30+ SYCLBIN &operator =(const SYCLBIN &Other) = delete ;
31+ SYCLBIN &operator =(SYCLBIN &&Other) = default ;
2832
2933 MemoryBufferRef getMemoryBufferRef () const { return Data; }
3034
Original file line number Diff line number Diff line change @@ -29,6 +29,9 @@ class ManagedBinaryFile {
2929 ManagedBinaryFile (ManagedBinaryFile &&) = default ;
3030 ManagedBinaryFile (const ManagedBinaryFile &) = delete ;
3131
32+ ManagedBinaryFile &operator =(ManagedBinaryFile &&) = default ;
33+ ManagedBinaryFile &operator =(const ManagedBinaryFile &) = delete ;
34+
3235 ~ManagedBinaryFile () { fs::remove (FileName); }
3336
3437 static Expected<ManagedBinaryFile> create (StringRef FileName,
Original file line number Diff line number Diff line change @@ -30,8 +30,14 @@ class ScopedIndent {
3030 CurrentIndentationLevel += Incremented;
3131 }
3232
33+ ScopedIndent (const ScopedIndent &Other) = default ;
34+ ScopedIndent (ScopedIndent &&Other) = default ;
35+
3336 ~ScopedIndent () { CurrentIndentationLevel -= Incremented; }
3437
38+ ScopedIndent &operator =(const ScopedIndent &Other) = default ;
39+ ScopedIndent &operator =(ScopedIndent &&Other) = default ;
40+
3541 std::string str () const { return std::string (CurrentIndentationLevel, ' ' ); }
3642
3743private:
You can’t perform that action at this time.
0 commit comments