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:
Aaron Ballman
2015-02-15 22:54:22 +00:00
parent aee01b35e4
commit 66981fe208
161 changed files with 827 additions and 855 deletions

View File

@ -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) {