]> granicus.if.org Git - clang/commitdiff
Update comments in fixit tests
authorDouglas Gregor <dgregor@apple.com>
Thu, 2 Apr 2009 03:20:30 +0000 (03:20 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 2 Apr 2009 03:20:30 +0000 (03:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68279 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/fixit-c90.c
test/Sema/fixit-errors.c
test/Sema/fixit.c
test/SemaCXX/fixit.cpp

index c2c7602cd30c6bdaaab1b0a2950ba9b5946397b3..92b7cd1cb2482fe51fe7d203fe51ee6687e6f6aa 100644 (file)
@@ -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,
index 3d144d3d873d8381b64ac74aed208cd296e0f847..9c5258dbcb743e6bb1bd6a6833a8b2dd52bf8451 100644 (file)
@@ -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}}
index ca034e9404621f7b94b035344de915b637502e78..e9d78c7f38d0f93d0a078981744b50ca2ec47221 100644 (file)
@@ -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) { };
 
index 9741d4af3c22bbe1280a6d22798807a4d77c37bb..ccddd959452b264348aa8e9c36590942ef24411e 100644 (file)
@@ -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();