Updated to revision 123723 of LLVM, to bring in
support for minimal type import functionality.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123787 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Expression/ClangASTSource.cpp b/source/Expression/ClangASTSource.cpp
index 3ef9e75..b18536b 100644
--- a/source/Expression/ClangASTSource.cpp
+++ b/source/Expression/ClangASTSource.cpp
@@ -225,16 +225,14 @@
 clang::NamedDecl *
 NameSearchContext::AddGenericFunDecl()
 {
+    FunctionProtoType::ExtProtoInfo proto_info;
+    
+    proto_info.Variadic = true;
+    
     QualType generic_function_type(m_ast_source.m_ast_context.getFunctionType (m_ast_source.m_ast_context.getSizeType(),   // result
-                                                                               NULL,                              // argument types
-                                                                               0,                                 // number of arguments
-                                                                               true,                              // variadic?
-                                                                               0,                                 // type qualifiers
-                                                                               false,                             // has exception specification?
-                                                                               false,                             // has any exception specification?
-                                                                               0,                                 // number of exceptions
-                                                                               NULL,                              // exceptions
-                                                                               FunctionType::ExtInfo()));         // defaults for noreturn, regparm, calling convention
+                                                                               NULL,                                // argument types
+                                                                               0,                                   // number of arguments
+                                                                               proto_info));
     
     return AddFunDecl(generic_function_type.getAsOpaquePtr());
 }