Improve Type::GetTypeScopeAndBasenameHelper and add unit tests
Previously it failed to handle nested types inside templated classes
making it impossible to look up these types using the fully qualified
name.
Paths
| Differential D28466
Improve Type::GetTypeScopeAndBasenameHelper and add unit tests ClosedPublic Authored by tberghammer on Jan 9 2017, 4:47 AM.
Details Summary Improve Type::GetTypeScopeAndBasenameHelper and add unit tests Previously it failed to handle nested types inside templated classes
Diff Detail
Event Timelinetberghammer retitled this revision from to Improve Type::GetTypeScopeAndBasenameHelper and add unit tests. tberghammer updated this object. clayborg edited edge metadata. Comment ActionsSwitch over to using llvm::StringRef in the functions where mentioned.
This revision now requires changes to proceed.Jan 9 2017, 10:30 AM clayborg edited edge metadata. Comment ActionsFix the consume_front mentioned in the inlined comment and this is good to go.
This revision is now accepted and ready to land.Jan 9 2017, 1:52 PM Closed by commit rL291559: Improve Type::GetTypeScopeAndBasenameHelper and add unit tests (authored by tberghammer). · Explain WhyJan 10 2017, 3:24 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 83791 lldb/trunk/include/lldb/Symbol/Type.h
lldb/trunk/source/Core/Module.cpp
lldb/trunk/source/Symbol/Type.cpp
lldb/trunk/source/Symbol/TypeList.cpp
lldb/trunk/source/Symbol/TypeMap.cpp
lldb/trunk/unittests/Symbol/CMakeLists.txt
lldb/trunk/unittests/Symbol/TestType.cpp
|