[cfe-commits] r68349 - in /cfe/trunk/test: FixIt/fixit-errors-1.c Lexer/fixit-errors.c

Mike Stump mrs at apple.com
Thu Apr 2 16:44:33 PDT 2009


Author: mrs
Date: Thu Apr  2 18:44:32 2009
New Revision: 68349

URL: http://llvm.org/viewvc/llvm-project?rev=68349&view=rev
Log:
Move the rest of the fixit tests to the FixIt area.

Added:
    cfe/trunk/test/FixIt/fixit-errors-1.c
      - copied unchanged from r68347, cfe/trunk/test/Lexer/fixit-errors.c
Removed:
    cfe/trunk/test/Lexer/fixit-errors.c

Removed: cfe/trunk/test/Lexer/fixit-errors.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Lexer/fixit-errors.c?rev=68348&view=auto

==============================================================================
--- cfe/trunk/test/Lexer/fixit-errors.c (original)
+++ cfe/trunk/test/Lexer/fixit-errors.c (removed)
@@ -1,13 +0,0 @@
-// RUN: clang-cc -fsyntax-only -pedantic -fixit %s -o - | clang-cc -pedantic -Werror -x c -
-
-/* This is a test of the various code modification hints that are
-   provided as part of warning or extension diagnostics. All of the
-   warnings will be fixed by -fixit, and the resulting file should
-   compile cleanly with -Werror -pedantic. */
-
-// FIXME: If you put a space at the end of the line, it doesn't work yet!
-char *s = "hi\
-there";
-
-// The following line isn't terminated, don't fix it.
-int i; // expected-error{{no newline at end of file}}





More information about the cfe-commits mailing list