diff options
| author | Greg Clayton <gclayton@apple.com> | 2011-10-14 22:47:18 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2011-10-14 22:47:18 +0000 |
| commit | 147e1fa298a34c7bac24e153f4a07030145d6a7e (patch) | |
| tree | 1a9923a22f020376ab93d3dea7bc12e7ced10db5 /lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp | |
| parent | ea166d44e7dde9f197e8ec0d73342a22a77aec04 (diff) | |
| download | bcm5719-llvm-147e1fa298a34c7bac24e153f4a07030145d6a7e.tar.gz bcm5719-llvm-147e1fa298a34c7bac24e153f4a07030145d6a7e.zip | |
Add function decls to their parent decl context.
llvm-svn: 142011
Diffstat (limited to 'lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp')
| -rw-r--r-- | lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp index d2f0311d843..881192761bc 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp +++ b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp @@ -4368,7 +4368,8 @@ SymbolFileDWARF::ParseType (const SymbolContext& sc, DWARFCompileUnit* dwarf_cu, if (!type_handled) { // We just have a function that isn't part of a class - clang::FunctionDecl *function_decl = ast.CreateFunctionDeclaration (type_name_cstr, + clang::FunctionDecl *function_decl = ast.CreateFunctionDeclaration (containing_decl_ctx, + type_name_cstr, clang_type, storage, is_inline); |

