Updated to latest LLVM.  Major LLVM changes:

 - Sema is now exported (and there was much rejoicing.)

 - Storage classes are now centrally defined.

Also fixed some bugs that the new LLVM picked up.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114622 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Symbol/ClangASTContext.cpp b/source/Symbol/ClangASTContext.cpp
index f9d85ac..7debcb6 100644
--- a/source/Symbol/ClangASTContext.cpp
+++ b/source/Symbol/ClangASTContext.cpp
@@ -847,15 +847,16 @@
     QualType method_qual_type(QualType::getFromOpaquePtr(method_opaque_type));
     
     CXXMethodDecl *cxx_method_decl = CXXMethodDecl::Create(*ast_context,
-                                                           cxx_record_decl, 
-                                                           SourceLocation(), 
-                                                           DeclarationName(&identifier_table->get(name)), 
-                                                           method_qual_type, 
+                                                           cxx_record_decl,
+                                                           DeclarationNameInfo(DeclarationName(&identifier_table->get(name)), SourceLocation()),
+                                                           method_qual_type,
                                                            NULL);
     
-    cxx_method_decl->setAccess (ConvertAccessTypeToAccessSpecifier (access));
-    cxx_method_decl->setVirtualAsWritten (is_virtual);
-
+    clang::AccessSpecifier AS = ConvertAccessTypeToAccessSpecifier(access);
+    
+    cxx_method_decl->setAccess(AS);
+    cxx_method_decl->setVirtualAsWritten(is_virtual);
+    
     // Populate the method decl with parameter decls
     clang::Type *method_type(method_qual_type.getTypePtr());
     
@@ -881,8 +882,8 @@
                                                   NULL, // anonymous
                                                   method_funprototy->getArgType(param_index), 
                                                   NULL,
-                                                  VarDecl::Auto, 
-                                                  VarDecl::Auto,
+                                                  SC_Auto, 
+                                                  SC_Auto,
                                                   NULL); 
     }
     
@@ -946,7 +947,7 @@
             if (bitfield_bit_size != 0)
             {
                 APInt bitfield_bit_size_apint(ast_context->getTypeSize(ast_context->IntTy), bitfield_bit_size);
-                bit_width = new (*ast_context)IntegerLiteral (bitfield_bit_size_apint, ast_context->IntTy, SourceLocation());
+                bit_width = new (*ast_context)IntegerLiteral (*ast_context, bitfield_bit_size_apint, ast_context->IntTy, SourceLocation());
             }
             FieldDecl *field = FieldDecl::Create (*ast_context,
                                                   record_decl,
@@ -1277,7 +1278,7 @@
                 if (bitfield_bit_size != 0)
                 {
                     APInt bitfield_bit_size_apint(ast_context->getTypeSize(ast_context->IntTy), bitfield_bit_size);
-                    bit_width = new (*ast_context)IntegerLiteral (bitfield_bit_size_apint, ast_context->IntTy, SourceLocation());
+                    bit_width = new (*ast_context)IntegerLiteral (*ast_context, bitfield_bit_size_apint, ast_context->IntTy, SourceLocation());
                 }
                 
                 ObjCIvarDecl *field = ObjCIvarDecl::Create (*ast_context,