mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-14 14:24:05 +00:00
Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229340 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -244,7 +244,7 @@ TEST_F(StringMapTest, InsertRehashingPairTest) {
|
||||
// Create a non-default constructable value
|
||||
struct StringMapTestStruct {
|
||||
StringMapTestStruct(int i) : i(i) {}
|
||||
StringMapTestStruct() LLVM_DELETED_FUNCTION;
|
||||
StringMapTestStruct() = delete;
|
||||
int i;
|
||||
};
|
||||
|
||||
@ -258,7 +258,7 @@ TEST_F(StringMapTest, NonDefaultConstructable) {
|
||||
|
||||
struct Immovable {
|
||||
Immovable() {}
|
||||
Immovable(Immovable&&) LLVM_DELETED_FUNCTION; // will disable the other special members
|
||||
Immovable(Immovable&&) = delete; // will disable the other special members
|
||||
};
|
||||
|
||||
struct MoveOnly {
|
||||
@ -272,8 +272,8 @@ struct MoveOnly {
|
||||
}
|
||||
|
||||
private:
|
||||
MoveOnly(const MoveOnly &) LLVM_DELETED_FUNCTION;
|
||||
MoveOnly &operator=(const MoveOnly &) LLVM_DELETED_FUNCTION;
|
||||
MoveOnly(const MoveOnly &) = delete;
|
||||
MoveOnly &operator=(const MoveOnly &) = delete;
|
||||
};
|
||||
|
||||
TEST_F(StringMapTest, MoveOnly) {
|
||||
|
Reference in New Issue
Block a user