r209893 - Remove unnecessary test.
Diego Novillo
dnovillo at google.com
Fri May 30 06:19:28 PDT 2014
Author: dnovillo
Date: Fri May 30 08:19:28 2014
New Revision: 209893
URL: http://llvm.org/viewvc/llvm-project?rev=209893&view=rev
Log:
Remove unnecessary test.
Removed:
cfe/trunk/test/Frontend/Weverything-and-remarks.cpp
Removed: cfe/trunk/test/Frontend/Weverything-and-remarks.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/Weverything-and-remarks.cpp?rev=209892&view=auto
==============================================================================
--- cfe/trunk/test/Frontend/Weverything-and-remarks.cpp (original)
+++ cfe/trunk/test/Frontend/Weverything-and-remarks.cpp (removed)
@@ -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 <class _CharT>
-struct __attribute__((__type_visibility__("default"))) char_traits;
-
-template <>
-struct __attribute__((__type_visibility__("default"))) char_traits<char32_t> {
- 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<char32_t>::move(char_type* __s1, const char_type* __s2,
- size_t __n) {
- { assign(*--__s1, *--__s2); }
-}
-
-// CHECK-NOT: {{^remark:}}
More information about the cfe-commits
mailing list