r229394 - Reverting a switch from LLVM_DELETED_FUNCTION to = delete; this test should not have changed.

Aaron Ballman aaron at aaronballman.com
Mon Feb 16 06:14:01 PST 2015


Author: aaronballman
Date: Mon Feb 16 08:14:01 2015
New Revision: 229394

URL: http://llvm.org/viewvc/llvm-project?rev=229394&view=rev
Log:
Reverting a switch from LLVM_DELETED_FUNCTION to = delete; this test should not have changed.

Modified:
    cfe/trunk/unittests/Format/FormatTest.cpp

Modified: cfe/trunk/unittests/Format/FormatTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/Format/FormatTest.cpp?rev=229394&r1=229393&r2=229394&view=diff
==============================================================================
--- cfe/trunk/unittests/Format/FormatTest.cpp (original)
+++ cfe/trunk/unittests/Format/FormatTest.cpp Mon Feb 16 08:14:01 2015
@@ -5533,7 +5533,7 @@ TEST_F(FormatTest, FormatsCasts) {
   verifyFormat("int a = alignof(int) * b;", getGoogleStyle());
   verifyFormat("template <> void f<int>(int i) SOME_ANNOTATION;");
   verifyFormat("f(\"%\" SOME_MACRO(ll) \"d\");");
-  verifyFormat("aaaaa &operator=(const aaaaa &) = delete;");
+  verifyFormat("aaaaa &operator=(const aaaaa &) LLVM_DELETED_FUNCTION;");
 
   // These are not casts, but at some point were confused with casts.
   verifyFormat("virtual void foo(int *) override;");





More information about the cfe-commits mailing list