[all-commits] [llvm/llvm-project] 55aa4b: [lldb] Fix -Wswitch in TypeSystemClang.cpp ('SveBo...

Jie Fu via All-commits all-commits at lists.llvm.org
Tue Mar 14 07:26:03 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 55aa4bfaee8a2bd5c56765b4d54c4115dcc5d6f3
      https://github.com/llvm/llvm-project/commit/55aa4bfaee8a2bd5c56765b4d54c4115dcc5d6f3
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2023-03-14 (Tue, 14 Mar 2023)

  Changed paths:
    M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp

  Log Message:
  -----------
  [lldb] Fix -Wswitch in TypeSystemClang.cpp ('SveBoolx2' and 'SveBoolx4' not handled in switch) (NFC)

/data/llvm-project/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp:4859:13: error: enumeration values 'SveBoolx2' and 'SveBoolx4' not handled in switch [-Werror,-Wswitch]
    switch (llvm::cast<clang::BuiltinType>(qual_type)->getKind()) {
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.




More information about the All-commits mailing list