From: Diego Novillo Date: Fri, 30 May 2014 13:19:28 +0000 (+0000) Subject: Remove unnecessary test. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6cdcbfc7485a747aa204293e2cd5845303706101;p=clang Remove unnecessary test. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209893 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Frontend/Weverything-and-remarks.cpp b/test/Frontend/Weverything-and-remarks.cpp deleted file mode 100644 index fcdc2c8299..0000000000 --- a/test/Frontend/Weverything-and-remarks.cpp +++ /dev/null @@ -1,28 +0,0 @@ -// Test that -Weverything does not trigger any backend remarks. -// -// This was triggering backend remarks for which there were no frontend -// flags to filter them. The handler in BackendConsumer::DiagnosticHandlerImpl -// should not emitting diagnostics for unhandled kinds. - -// RUN: %clang -target x86_64-unknown-unknown -c -S -Weverything -O0 -o /dev/null %s 2> %t.err -// RUN: FileCheck < %t.err %s - -typedef __char32_t char32_t; -typedef long unsigned int size_t; -template -struct __attribute__((__type_visibility__("default"))) char_traits; - -template <> -struct __attribute__((__type_visibility__("default"))) char_traits { - typedef char32_t char_type; - static void assign(char_type& __c1, const char_type& __c2) throw() { - __c1 = __c2; - } - static char_type* move(char_type* __s1, const char_type* __s2, size_t __n); -}; -char32_t* char_traits::move(char_type* __s1, const char_type* __s2, - size_t __n) { - { assign(*--__s1, *--__s2); } -} - -// CHECK-NOT: {{^remark:}}