Add a method to check if the type is a scoped enumeration (i.e. "enum class/struct").
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D93690
Add SBType::IsScopedEnumerationType method ClosedPublic Authored by werat on Dec 22 2020, 4:45 AM.
Details Summary Add a method to check if the type is a scoped enumeration (i.e. "enum class/struct").
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 22 2020, 9:58 AM This revision was landed with ongoing or failed builds.Dec 22 2020, 10:08 AM Closed by commit rGe17a00fc87bc: [lldb] Add SBType::IsScopedEnumerationType method (authored by werat, committed by JDevlieghere). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 313382 lldb/bindings/interface/SBType.i
lldb/include/lldb/API/SBType.h
lldb/include/lldb/Symbol/CompilerType.h
lldb/include/lldb/Symbol/TypeSystem.h
lldb/source/API/SBType.cpp
lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
lldb/source/Symbol/CompilerType.cpp
lldb/test/API/python_api/type/TestTypeList.py
lldb/test/API/python_api/type/main.cpp
|
Same comment as in D93696: you need to register your new method.