This method has exactly one call site, which is only actually executed
if ValueObject::IsBaseClass returns false. However, the first thing
that ValueObject::GetBaseClassPath does is check if ValueObject::IsBaseClass
is true. Because this can never be the case, this method always returns false
and is therefore effectively dead.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
lldb/source/Core/ValueObject.cpp | ||
---|---|---|
2041 | Should we remove the qualify_cxx_base_classes argument as well, given that it no longer does anything ? |
lldb/source/Core/ValueObject.cpp | ||
---|---|---|
2041 | It seems that this is a part of the SBValue interface. I think we can remove it from ValueObject but SBValue will have to stick with it. |
lldb/source/Core/ValueObject.cpp | ||
---|---|---|
2041 | That sounds reasonable. |
Should we remove the qualify_cxx_base_classes argument as well, given that it no longer does anything ?