[lldb-dev] [Bug 41823] New: warning: unannotated fall-through between switch labels

via lldb-dev lldb-dev at lists.llvm.org
Thu May 9 22:00:43 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=41823

            Bug ID: 41823
           Summary: warning: unannotated fall-through between switch
                    labels
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: yuri at tsoft.com
                CC: jdevlieghere at apple.com, llvm-bugs at lists.llvm.org

In file included from
/usr/ports/devel/llvm-devel/work/llvm-e9c0fded7c9ef8fde329af8495ede75aa0776a6b/tools/lldb/source/Plugins/ABI/SysV-arm/ABISysV_arm.cpp:30:
/usr/ports/devel/llvm-devel/work/llvm-e9c0fded7c9ef8fde329af8495ede75aa0776a6b/tools/lldb/source/./Plugins/Process/Utility/ARMDefines.h:73:3:
warning: unannotated fall-through between switch labels
[-Wimplicit-fallthrough]
  case COND_EQ:
  ^
/usr/ports/devel/llvm-devel/work/llvm-e9c0fded7c9ef8fde329af8495ede75aa0776a6b/tools/lldb/source/./Plugins/Process/Utility/ARMDefines.h:73:3:
note: insert 'LLVM_FALLTHROUGH;' to silence this warning
  case COND_EQ:
  ^
  LLVM_FALLTHROUGH; 
/usr/ports/devel/llvm-devel/work/llvm-e9c0fded7c9ef8fde329af8495ede75aa0776a6b/tools/lldb/source/./Plugins/Process/Utility/ARMDefines.h:73:3:
note: insert 'break;' to avoid fall-through
  case COND_EQ:
  ^
  break; 
1 warning generated.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20190510/38c94b77/attachment.html>


More information about the lldb-dev mailing list