[llvm-bugs] [Bug 45624] clang fails to detect using an object before it is initialized

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jun 9 15:11:48 PDT 2020


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

Zequan Wu <zequanwu at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #11 from Zequan Wu <zequanwu at google.com> ---
A new flag -Wuninitialized-const-reference has been introduced to diagnose a
warning when passing uninitialized variables as const reference parameters to a
function.

https://reviews.llvm.org/rG170b6869b563dd3393d99f3e03d389b9058d5f24

-- 
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/20200609/dbd1e2df/attachment.html>


More information about the llvm-bugs mailing list