Skip to content

Commit bd4bb25

Browse files
NerixyzMichael137
andcommitted
Apply suggestions from code review
Co-authored-by: Michael Buch <[email protected]>
1 parent 934f575 commit bd4bb25

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2601,7 +2601,7 @@ void SymbolFileNativePDB::CacheUdtDeclarations() {
26012601

26022602
llvm::Expected<Declaration>
26032603
SymbolFileNativePDB::ResolveUdtDeclaration(PdbTypeSymId type_id) {
2604-
std::call_once(m_cached_udt_declatations, [this] { CacheUdtDeclarations(); });
2604+
std::call_once(m_cached_udt_declarations, [this] { CacheUdtDeclarations(); });
26052605

26062606
auto it = m_udt_declarations.find(type_id.index);
26072607
if (it == m_udt_declarations.end())

lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ class SymbolFileNativePDB : public SymbolFileCommon {
296296
uint32_t Line;
297297
};
298298
llvm::DenseMap<llvm::codeview::TypeIndex, UdtDeclaration> m_udt_declarations;
299-
std::once_flag m_cached_udt_declatations;
299+
std::once_flag m_cached_udt_declarations;
300300

301301
lldb_private::UniqueCStringMap<uint32_t> m_type_base_names;
302302

0 commit comments

Comments
 (0)