PCH support for declaration statements, and a test for PredefinedExpr

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69356 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/PCH/stmts.h b/test/PCH/stmts.h
index 7290d2e..685811a 100644
--- a/test/PCH/stmts.h
+++ b/test/PCH/stmts.h
@@ -39,10 +39,12 @@
     x++;
   } while (x < 10);
 
-  for (; x < 20; ++x) {
-    if (x == 12)
+  for (int y = x; y < 20; ++y) {
+    if (x + y == 12)
       return;
   }
+
+  int z = x, *y, j = 5;
 }
 
 int f1(int x) {
@@ -56,3 +58,5 @@
 
   return x*2;
 }
+
+const char* what_is_my_name(void) { return __func__; }