Author: Kazu Hirata
Date: 2025-05-28T04:00:18-04:00
New Revision: a69487da2e746d747fc0dc19d416a7d654c8c148

URL: 
https://github.com/llvm/llvm-project/commit/a69487da2e746d747fc0dc19d416a7d654c8c148
DIFF: 
https://github.com/llvm/llvm-project/commit/a69487da2e746d747fc0dc19d416a7d654c8c148.diff

LOG: [lldb] Fix warnings (#141687)

This patch fixes:

  lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp:4137:11:
  error: enumeration value 'HLSLInlineSpirv' not handled in switch
  [-Werror,-Wswitch]

  lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp:4844:11:
  error: enumeration value 'HLSLInlineSpirv' not handled in switch
  [-Werror,-Wswitch]

  lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp:5142:11:
  error: enumeration value 'HLSLInlineSpirv' not handled in switch
  [-Werror,-Wswitch]

Added: 
    

Modified: 
    lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp 
b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
index 8c19d5be76bcf..16ea40bd5e9bc 100644
--- a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
+++ b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
@@ -4262,6 +4262,8 @@ 
TypeSystemClang::GetTypeClass(lldb::opaque_compiler_type_t type) {
 
   case clang::Type::HLSLAttributedResource:
     break;
+  case clang::Type::HLSLInlineSpirv:
+    break;
   }
   // We don't know hot to display this type...
   return lldb::eTypeClassOther;
@@ -5128,6 +5130,8 @@ lldb::Encoding 
TypeSystemClang::GetEncoding(lldb::opaque_compiler_type_t type,
 
   case clang::Type::HLSLAttributedResource:
     break;
+  case clang::Type::HLSLInlineSpirv:
+    break;
   }
   count = 0;
   return lldb::eEncodingInvalid;
@@ -5292,6 +5296,8 @@ lldb::Format 
TypeSystemClang::GetFormat(lldb::opaque_compiler_type_t type) {
 
   case clang::Type::HLSLAttributedResource:
     break;
+  case clang::Type::HLSLInlineSpirv:
+    break;
   }
   // We don't know hot to display this type...
   return lldb::eFormatBytes;


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to