PCH support for MemberExpr and CallExpr.

llvm-svn: 69186
diff --git a/clang/test/PCH/exprs.c b/clang/test/PCH/exprs.c
index e41c93f..7337c4c 100644
--- a/clang/test/PCH/exprs.c
+++ b/clang/test/PCH/exprs.c
@@ -36,6 +36,12 @@
 typeof_sizeof *size_t_ptr = &size_t_value;
 typeof_sizeof2 *size_t_ptr2 = &size_t_value;
 
+// CallExpr
+call_returning_double *double_ptr2 = &floating;
+
+// MemberExpr
+member_ref_double *double_ptr3 = &floating;
+
 // BinaryOperator
 add_result *int_ptr5 = &integer;
 
diff --git a/clang/test/PCH/exprs.h b/clang/test/PCH/exprs.h
index 73e15fb..918ca81 100644
--- a/clang/test/PCH/exprs.h
+++ b/clang/test/PCH/exprs.h
@@ -26,6 +26,17 @@
 typedef typeof(sizeof(int)) typeof_sizeof;
 typedef typeof(sizeof(Enumerator)) typeof_sizeof2;
 
+// CallExpr
+double dplus(double x, double y);
+double d0, d1;
+typedef typeof((&dplus)(d0, d1)) call_returning_double;
+
+// MemberExpr
+struct S {
+  double x;
+};
+typedef typeof(((struct S*)0)->x) member_ref_double;
+
 // BinaryOperator
 typedef typeof(i + Enumerator) add_result;