Skip to content

Commit 8d72964

Browse files
committed
fix: use isSimple
1 parent 509b83f commit 8d72964

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1675,7 +1675,7 @@ void SymbolFileNativePDB::CacheFunctionNames() {
16751675
llvm::cantFail(SymbolDeserializer::deserializeAs<ProcSym>(*iter));
16761676
if ((proc.Flags & ProcSymFlags::IsUnreachable) != ProcSymFlags::None)
16771677
continue;
1678-
if (proc.Name.empty() || proc.FunctionType.isNoneType())
1678+
if (proc.Name.empty() || proc.FunctionType.isSimple())
16791679
continue;
16801680

16811681
// The function/procedure symbol only contains the demangled name.

0 commit comments

Comments
 (0)