Author: aaronballman Date: Tue Sep 29 08:38:00 2015 New Revision: 248794 URL: http://llvm.org/viewvc/llvm-project?rev=248794&view=rev Log: Silencing bot failures a more creative and definitive way.
Modified: clang-tools-extra/trunk/test/clang-tidy/misc-new-delete-overloads-sized-dealloc.cpp clang-tools-extra/trunk/test/clang-tidy/misc-new-delete-overloads.cpp Modified: clang-tools-extra/trunk/test/clang-tidy/misc-new-delete-overloads-sized-dealloc.cpp URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/misc-new-delete-overloads-sized-dealloc.cpp?rev=248794&r1=248793&r2=248794&view=diff ============================================================================== --- clang-tools-extra/trunk/test/clang-tidy/misc-new-delete-overloads-sized-dealloc.cpp (original) +++ clang-tools-extra/trunk/test/clang-tidy/misc-new-delete-overloads-sized-dealloc.cpp Tue Sep 29 08:38:00 2015 @@ -1,6 +1,6 @@ // RUN: %python %S/check_clang_tidy.py %s misc-new-delete-overloads %t -- -std=c++14 -fsized-deallocation -typedef unsigned int size_t; +typedef decltype(sizeof(int)) size_t; struct S { // CHECK-MESSAGES: :[[@LINE+1]]:8: warning: declaration of 'operator delete' has no matching declaration of 'operator new' at the same scope [misc-new-delete-overloads] Modified: clang-tools-extra/trunk/test/clang-tidy/misc-new-delete-overloads.cpp URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/misc-new-delete-overloads.cpp?rev=248794&r1=248793&r2=248794&view=diff ============================================================================== --- clang-tools-extra/trunk/test/clang-tidy/misc-new-delete-overloads.cpp (original) +++ clang-tools-extra/trunk/test/clang-tidy/misc-new-delete-overloads.cpp Tue Sep 29 08:38:00 2015 @@ -1,6 +1,6 @@ // RUN: %python %S/check_clang_tidy.py %s misc-new-delete-overloads %t -- -std=c++14 -typedef unsigned int size_t; +typedef decltype(sizeof(int)) size_t; struct S { // CHECK-MESSAGES: :[[@LINE+1]]:9: warning: declaration of 'operator new' has no matching declaration of 'operator delete' at the same scope [misc-new-delete-overloads] _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits