Added documentation to ClangExpressionDeclMap.
Also cleaned up its API a tiny bit (but not the
extensive amount that is actually needed. That's
still coming.)
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111049 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Expression/ClangExpressionDeclMap.cpp b/source/Expression/ClangExpressionDeclMap.cpp
index fb10605..845d1c0 100644
--- a/source/Expression/ClangExpressionDeclMap.cpp
+++ b/source/Expression/ClangExpressionDeclMap.cpp
@@ -115,8 +115,7 @@
ClangExpressionDeclMap::AddValueToStruct (llvm::Value *value,
const clang::NamedDecl *decl,
std::string &name,
- void *parser_type,
- clang::ASTContext *parser_ast_context,
+ TypeFromParser type,
size_t size,
off_t alignment)
{
@@ -137,7 +136,7 @@
member.m_value = value;
member.m_decl = decl;
member.m_name = name;
- member.m_parser_type = TypeFromParser(parser_type, parser_ast_context);
+ member.m_parser_type = type;
member.m_offset = 0;
member.m_size = size;
member.m_alignment = alignment;