[Lldb-commits] [lldb] [lldb][NFC] Handle UnresolvedTemplate type in TypeSystemClang.cpp after 7a484d3 (PR #91132)

via lldb-commits lldb-commits at lists.llvm.org
Sun May 5 09:26:48 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Younan Zhang (zyn0217)

<details>
<summary>Changes</summary>

The fix per se seems trivial (given the nature of the new built-in type), and hence I don't think we need extra tests.

---
Full diff: https://github.com/llvm/llvm-project/pull/91132.diff


1 Files Affected:

- (modified) lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp (+2) 


``````````diff
diff --git a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
index 2621f682011b41e..08d32e71c7fd32e 100644
--- a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
+++ b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
@@ -3983,6 +3983,7 @@ TypeSystemClang::GetMinimumLanguage(lldb::opaque_compiler_type_t type) {
 
       case clang::BuiltinType::Dependent:
       case clang::BuiltinType::Overload:
+      case clang::BuiltinType::UnresolvedTemplate:
       case clang::BuiltinType::BoundMember:
       case clang::BuiltinType::UnknownAny:
         break;
@@ -5962,6 +5963,7 @@ uint32_t TypeSystemClang::GetNumPointeeChildren(clang::QualType type) {
     case clang::BuiltinType::LongDouble:
     case clang::BuiltinType::Dependent:
     case clang::BuiltinType::Overload:
+    case clang::BuiltinType::UnresolvedTemplate:
     case clang::BuiltinType::ObjCId:
     case clang::BuiltinType::ObjCClass:
     case clang::BuiltinType::ObjCSel:

``````````

</details>


https://github.com/llvm/llvm-project/pull/91132


More information about the lldb-commits mailing list