is now always 1, as we're requiring C++11 now!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202584
91177308-0d34-0410-b5e6-
96231b3b80d8
}
}
-#if LLVM_HAS_RVALUE_REFERENCES
PartialDiagnostic(PartialDiagnostic &&Other)
: DiagID(Other.DiagID), DiagStorage(Other.DiagStorage),
Allocator(Other.Allocator) {
Other.DiagStorage = 0;
}
-#endif
PartialDiagnostic(const PartialDiagnostic &Other, Storage *DiagStorage)
: DiagID(Other.DiagID), DiagStorage(DiagStorage),
return *this;
}
-#if LLVM_HAS_RVALUE_REFERENCES
PartialDiagnostic &operator=(PartialDiagnostic &&Other) {
freeStorage();
Other.DiagStorage = 0;
return *this;
}
-#endif
~PartialDiagnostic() {
freeStorage();