BEFORE this patch, when clang handles constraints like C1 || C2 where C1 evaluates to false and C2 evaluates to true, it emitted irrelevant diagnostics about the falsity of C1. This patch removes the irrelevant diagnostic information generated during the evaluation of C1 if C2 evaluates to true. Fixes https://github.com/llvm/llvm-project/issues/54678 Reviewed By: erichkeane Differential Revision: https://reviews.llvm.org/D157526
65 KiB
65 KiB