[llvm-bugs] [Bug 30694] New: Check to detect empty blocks

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Oct 13 18:28:00 PDT 2016


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

            Bug ID: 30694
           Summary: Check to detect empty blocks
           Product: clang
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Static Analyzer
          Assignee: kremenek at apple.com
          Reporter: eugene.zelenko at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

It'll be good idea to add check which will detect empty blocks, including
conditional statements and loops.

For example:

if (<Condition) {
}

Variable lifetime analysis need to be performed, because condition and loops
could change variables.

-- 
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/20161014/28ffa331/attachment.html>


More information about the llvm-bugs mailing list