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/Expression/ClangASTSource.cpp b/source/Expression/ClangASTSource.cpp
index 423f759..3d71da5 100644
--- a/source/Expression/ClangASTSource.cpp
+++ b/source/Expression/ClangASTSource.cpp
@@ -74,6 +74,11 @@
return SetExternalVisibleDeclsForName(DC, Name, Decls);
}
+void ClangASTSource::MaterializeVisibleDecls(const DeclContext *DC)
+{
+ return;
+}
+
// This is used to support iterating through an entire lexical context,
// which isn't something the debugger should ever need to do.
bool ClangASTSource::FindExternalLexicalDecls(const DeclContext *DC, llvm::SmallVectorImpl<Decl*> &Decls) {
@@ -94,8 +99,8 @@
ii,
QualType::getFromOpaquePtr(type),
0,
- VarDecl::Static,
- VarDecl::Static);
+ SC_Static,
+ SC_Static);
Decls.push_back(Decl);
return Decl;
@@ -108,8 +113,8 @@
Name.getAsIdentifierInfo(),
QualType::getFromOpaquePtr(type),
NULL,
- FunctionDecl::Static,
- FunctionDecl::Static,
+ SC_Static,
+ SC_Static,
false,
true);
@@ -138,8 +143,8 @@
NULL,
ArgQT,
NULL,
- ParmVarDecl::Static,
- ParmVarDecl::Static,
+ SC_Static,
+ SC_Static,
NULL);
}