From 4c55d45b13e9a09b48c4dffefae04ea21e2e5822 Mon Sep 17 00:00:00 2001 From: Jordan Rose Date: Fri, 23 Aug 2013 15:42:01 +0000 Subject: Respect -Wnewline-eof even in C++11 mode. If the user has requested this warning, we should emit it, even if it's not an extension in the current language mode. However, being an extension is more important, so prefer the pedantic warning or the pedantic-compatibility warning if those are enabled. llvm-svn: 189110 --- clang/test/Lexer/newline-eof-c++11.cpp | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 clang/test/Lexer/newline-eof-c++11.cpp (limited to 'clang/test/Lexer/newline-eof-c++11.cpp') diff --git a/clang/test/Lexer/newline-eof-c++11.cpp b/clang/test/Lexer/newline-eof-c++11.cpp deleted file mode 100644 index eeabe8bb9fc..00000000000 --- a/clang/test/Lexer/newline-eof-c++11.cpp +++ /dev/null @@ -1,5 +0,0 @@ -// RUN: %clang_cc1 -fsyntax-only -std=c++11 -Wnewline-eof -verify %s -// expected-no-diagnostics - -// The following line isn't terminated, don't fix it. -void foo() {} \ No newline at end of file -- cgit v1.2.3