On 3/16/22 10:32 AM, Sterling Augustine via Phabricator wrote:
saugustine added a comment.

This change ends up leaving some unhandled enum with switches inside lldb, and 
it isn't obvious to me how to fix them. Can you take a quick look?

   
llvm-project/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp:4098:11: 
error: enumeration value 'BTFTagAttributed' not handled in switch 
[-Werror,-Wswitch]
     switch (qual_type->getTypeClass()) {
             ^~~~~~~~~~~~~~~~~~~~~~~~~
   
llvm-project/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp:4757:11: 
error: enumeration value 'BTFTagAttributed' not handled in switch 
[-Werror,-Wswitch]
     switch (qual_type->getTypeClass()) {
             ^~~~~~~~~~~~~~~~~~~~~~~~~
   
llvm-project/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp:5140:11: 
error: enumeration value 'BTFTagAttributed' not handled in switch 
[-Werror,-Wswitch]
     switch (qual_type->getTypeClass()) {
             ^~~~~~~~~~~~~~~~~~~~~~~~~
   3 errors generated.


Thanks. Will take a look immediately.


Repository:
   rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
   https://reviews.llvm.org/D120296/new/

https://reviews.llvm.org/D120296

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

Reply via email to