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

            Bug ID: 47190
           Summary: Provide way to specify threshold for -Wmisexcept
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Driver
          Assignee: unassignedclangb...@nondot.org
          Reporter: david.bolvan...@gmail.com
                CC: llvm-bugs@lists.llvm.org, neeil...@live.com,
                    richard-l...@metafoo.co.uk

Nowdays, -Wmisexpect warns too much uselessly, eg.:

../lib/decompress/zstd_decompress_block.c:874:17: warning: Potential
performance regression from use of __builtin_expect(): Annotation was correct
on 90.49% (1747623 / 1931364) of profiled executions. [-Wmisexpect]

It would be great to provide way to specify threshold to stop this warning.

For example, with -Wmisexpect=70 we would not warn for case above.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to