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: kreme...@apple.com Reporter: eugene.zele...@gmail.com CC: llvm-bugs@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.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs