[cfe-commits] r68279 - in /cfe/trunk/test: Sema/fixit-c90.c Sema/fixit-errors.c Sema/fixit.c SemaCXX/fixit.cpp
Douglas Gregor
dgregor at apple.com
Wed Apr 1 20:20:32 PDT 2009
Author: dgregor
Date: Wed Apr 1 22:20:30 2009
New Revision: 68279
URL: http://llvm.org/viewvc/llvm-project?rev=68279&view=rev
Log:
Update comments in fixit tests
Modified:
cfe/trunk/test/Sema/fixit-c90.c
cfe/trunk/test/Sema/fixit-errors.c
cfe/trunk/test/Sema/fixit.c
cfe/trunk/test/SemaCXX/fixit.cpp
Modified: cfe/trunk/test/Sema/fixit-c90.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/fixit-c90.c?rev=68279&r1=68278&r2=68279&view=diff
==============================================================================
--- cfe/trunk/test/Sema/fixit-c90.c (original)
+++ cfe/trunk/test/Sema/fixit-c90.c Wed Apr 1 22:20:30 2009
@@ -1,10 +1,10 @@
/* RUN: clang -fsyntax-only -std=c90 -pedantic -fixit %s -o - | clang-cc -pedantic -x c -std=c90 -Werror -
*/
+
/* This is a test of the various code modification hints that are
- provided as part of warning or extension diagnostics. Eventually,
- we would like to actually try to perform the suggested
- modifications and compile the result to test that no warnings
- remain. */
+ 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. */
enum e0 {
e1,
Modified: cfe/trunk/test/Sema/fixit-errors.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/fixit-errors.c?rev=68279&r1=68278&r2=68279&view=diff
==============================================================================
--- cfe/trunk/test/Sema/fixit-errors.c (original)
+++ cfe/trunk/test/Sema/fixit-errors.c Wed Apr 1 22:20:30 2009
@@ -1,10 +1,10 @@
// 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. Eventually,
- we would like to actually try to perform the suggested
- modifications and compile the result to test that no warnings
- remain. */
+ 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. */
+
struct s; // expected-note{{previous use is here}}
union s *s1; // expected-error{{use of 's' with tag type that does not match previous declaration}}
Modified: cfe/trunk/test/Sema/fixit.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/fixit.c?rev=68279&r1=68278&r2=68279&view=diff
==============================================================================
--- cfe/trunk/test/Sema/fixit.c (original)
+++ cfe/trunk/test/Sema/fixit.c Wed Apr 1 22:20:30 2009
@@ -1,10 +1,9 @@
// RUN: clang -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. Eventually,
- we would like to actually try to perform the suggested
- modifications and compile the result to test that no warnings
- remain. */
+ 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. */
void f0(void) { };
Modified: cfe/trunk/test/SemaCXX/fixit.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/fixit.cpp?rev=68279&r1=68278&r2=68279&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/fixit.cpp (original)
+++ cfe/trunk/test/SemaCXX/fixit.cpp Wed Apr 1 22:20:30 2009
@@ -1,10 +1,9 @@
// RUN: clang-cc -fsyntax-only -pedantic -fixit %s -o - | clang-cc -fsyntax-only -pedantic -Werror -x c++ -
/* This is a test of the various code modification hints that are
- provided as part of warning or extension diagnostics. Eventually,
- we would like to actually try to perform the suggested
- modifications and compile the result to test that no warnings
- remain. */
+ 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. */
struct C1 {
virtual void f();
More information about the cfe-commits
mailing list