[all-commits] [llvm/llvm-project] 50630d: [lldb] Fix warnings
    kazutakahirata via All-commits 
    all-commits at lists.llvm.org
       
    Tue Aug 16 12:33:34 PDT 2022
    
    
  
  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 50630dcc4c8ab5de26e153a948577c4cc743b722
      https://github.com/llvm/llvm-project/commit/50630dcc4c8ab5de26e153a948577c4cc743b722
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-08-16 (Tue, 16 Aug 2022)
  Changed paths:
    M lldb/source/Plugins/Instruction/RISCV/EmulateInstructionRISCV.cpp
    M lldb/source/Plugins/Instruction/RISCV/EmulateInstructionRISCV.h
  Log Message:
  -----------
  [lldb] Fix warnings
This patch fixes:
  lldb/source/Plugins/Instruction/RISCV/EmulateInstructionRISCV.h:34:5:
  error: default label in switch which covers all enumeration values
  [-Werror,-Wcovered-switch-default]
and:
  lldb/source/Plugins/Instruction/RISCV/EmulateInstructionRISCV.cpp:194:21:
  error: comparison of integers of different signs: 'int' and 'size_t'
  (aka 'unsigned long') [-Werror,-Wsign-compare]
    
    
More information about the All-commits
mailing list