Add code modification hints to various parsing-related diagnostics.

Plus, reword a extension warnings to avoid talking about "ISO C" when
the extension might also be available in C++ or C++0x. 



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68257 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/fixit-c90.c b/test/Sema/fixit-c90.c
new file mode 100644
index 0000000..125e5f8
--- /dev/null
+++ b/test/Sema/fixit-c90.c
@@ -0,0 +1,11 @@
+/* RUN: clang -fsyntax-only -std=c90 -pedantic %s 
+ */
+/* 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. */
+
+enum e0 {
+  e1,
+};
diff --git a/test/Sema/fixit.c b/test/Sema/fixit.c
new file mode 100644
index 0000000..e2443cc
--- /dev/null
+++ b/test/Sema/fixit.c
@@ -0,0 +1,18 @@
+// RUN: clang -fsyntax-only -pedantic %s 
+
+/* 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. */
+
+void f0(void) { };
+
+struct s {
+  int x, y;;
+};
+
+_Complex cd;
+
+struct s s0 = { y: 5 };
+int array0[5] = { [3] 3 };