forked from OSchip/llvm-project
Silencing bot failures a more creative and definitive way.
llvm-svn: 248794
This commit is contained in:
parent
6d7fcdb518
commit
5edd83de91
|
@ -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]
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue