diff options
| author | Raphael Isemann <teemperor@gmail.com> | 2019-12-17 14:34:17 +0100 |
|---|---|---|
| committer | Raphael Isemann <teemperor@gmail.com> | 2019-12-17 15:56:07 +0100 |
| commit | b852b3c982d2e8ad3f13c626b3e3655e5b3c399e (patch) | |
| tree | a250e43225e15ce6f11b9d9f01d869bf92140c36 /lldb/source/Plugins/SymbolFile/NativePDB | |
| parent | 4becf68c6f17fe143539ceac954b21175914e1c1 (diff) | |
| download | bcm5719-llvm-b852b3c982d2e8ad3f13c626b3e3655e5b3c399e.tar.gz bcm5719-llvm-b852b3c982d2e8ad3f13c626b3e3655e5b3c399e.zip | |
[lldb][NFC] Rename ClangASTImporter::InsertRecordDecl to SetRecordLayout and document it
This function is just setting the layout for the given RecordDecl so
the current name is not very descriptive. Also add some documentation for it.
Diffstat (limited to 'lldb/source/Plugins/SymbolFile/NativePDB')
| -rw-r--r-- | lldb/source/Plugins/SymbolFile/NativePDB/UdtRecordCompleter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/SymbolFile/NativePDB/UdtRecordCompleter.cpp b/lldb/source/Plugins/SymbolFile/NativePDB/UdtRecordCompleter.cpp index 3c494dc8398..7221144407c 100644 --- a/lldb/source/Plugins/SymbolFile/NativePDB/UdtRecordCompleter.cpp +++ b/lldb/source/Plugins/SymbolFile/NativePDB/UdtRecordCompleter.cpp @@ -231,6 +231,6 @@ void UdtRecordCompleter::complete() { ClangASTContext::CompleteTagDeclarationDefinition(m_derived_ct); if (auto *record_decl = llvm::dyn_cast<clang::CXXRecordDecl>(&m_tag_decl)) { - m_ast_builder.importer().InsertRecordDecl(record_decl, m_layout); + m_ast_builder.importer().SetRecordLayout(record_decl, m_layout); } } |

