Handle function types.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43485 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/AST/ASTContext.cpp b/AST/ASTContext.cpp
index 72511bd..ba8ee07 100644
--- a/AST/ASTContext.cpp
+++ b/AST/ASTContext.cpp
@@ -1032,6 +1032,8 @@
     
     getObjcEncodingForType(AT->getElementType(), S);
     S += ']';
+  } else if (T->getAsFunctionType()) {
+    S += '?';
   } else
     assert(0 && "@encode for type not implemented!");
 }