[llvm-bugs] [Bug 32122] New: Warn on a == b == c

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Mar 2 14:37:23 PST 2017


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

            Bug ID: 32122
           Summary: Warn on a == b == c
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: hans at chromium.org
                CC: llvm-bugs at lists.llvm.org

Clang should probably warn about this one:

_Bool f(int a, int b, int c) {
  return a == b == c;
}

-- 
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/20170302/30657bbd/attachment.html>


More information about the llvm-bugs mailing list