summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/ClangExpressionDeclMap.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2010-08-13 22:29:54 +0000
committerSean Callanan <scallanan@apple.com>2010-08-13 22:29:54 +0000
commit03e977145846097471b0b39fed0625d207fca756 (patch)
treec2410d6a07928bcc3269f88342c42cdad5092560 /lldb/source/Expression/ClangExpressionDeclMap.cpp
parent15b3c3d0ac00a125d17e08d24c619e4500b0967b (diff)
downloadbcm5719-llvm-03e977145846097471b0b39fed0625d207fca756.tar.gz
bcm5719-llvm-03e977145846097471b0b39fed0625d207fca756.zip
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.) llvm-svn: 111049
Diffstat (limited to 'lldb/source/Expression/ClangExpressionDeclMap.cpp')
-rw-r--r--lldb/source/Expression/ClangExpressionDeclMap.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/source/Expression/ClangExpressionDeclMap.cpp b/lldb/source/Expression/ClangExpressionDeclMap.cpp
index fb10605a36f..845d1c0d881 100644
--- a/lldb/source/Expression/ClangExpressionDeclMap.cpp
+++ b/lldb/source/Expression/ClangExpressionDeclMap.cpp
@@ -115,8 +115,7 @@ bool
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 @@ ClangExpressionDeclMap::AddValueToStruct (llvm::Value *value,
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;
OpenPOWER on IntegriCloud