[llvm-bugs] [Bug 47029] New: A project should not contain unreachable code.(llvm-project/clang/lib/Sema/SemaType.cpp:1546)

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 7 02:14:31 PDT 2020


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

            Bug ID: 47029
           Summary: A project should not contain unreachable
                    code.(llvm-project/clang/lib/Sema/SemaType.cpp:1546)
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: info at ustchcs.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

A project should not contain unreachable code. 

(commit e3546c78cabfbf670391a57766872f0a8e28a423)

llvm-project/clang/lib/Sema/SemaType.cpp:

  1545    case DeclSpec::TST_bool: Result = Context.BoolTy; break; // _Bool or 
          bool
  1546      break;

Reported by: Ustchcs Toolsets Bugfinder
(bugfinder-1.1: A project should not contain unreachable code.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200807/b6ee88e0/attachment.html>


More information about the llvm-bugs mailing list