[llvm-bugs] [Bug 46837] RecoveryExpr: Invalid header causes an assertion evaluating bool condition in 'if' "missing lvalue-to-rvalue conv in bool condition"

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Feb 25 06:33:19 PST 2021


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

Sam McCall <sammccall at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sammccall at google.com
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #16 from Sam McCall <sammccall at google.com> ---
I believe this has been fixed in
https://github.com/llvm/llvm-project/commit/bd4662cd3f3743e08699e6bab976d9e7b163ece0
following the approach Richard explains in #15: treat error-dependent
expressions as potentially-constant, but fail to evaluate them.

-- 
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/20210225/801efcf2/attachment.html>


More information about the llvm-bugs mailing list