complain that the flag doesn't exist.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225931
91177308-0d34-0410-b5e6-
96231b3b80d8
}
#if defined(__clang__)
+// Disable the pragma warning from versions of Clang without -Wself-move
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wunknown-pragmas"
// Disable the warning that triggers on exactly what is being tested.
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wself-move"
}
#if defined(__clang__)
#pragma clang diagnostic pop
+#pragma clang diagnostic pop
#endif
}