[clang] [clang][coverage] fixing "if constexpr" and "if consteval" coverage report (PR #77214)
Jessica Paquette via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 8 20:02:13 PST 2024
================
@@ -7741,6 +7745,10 @@ TreeTransform<Derived>::TransformIfStmt(IfStmt *S) {
Else = getDerived().TransformStmt(S->getElse());
if (Else.isInvalid())
return StmtError();
+ } else if (S->getElse() && ConstexprConditionValue &&
----------------
ornata wrote:
Could you add a comment similar to the one in the `else` above?
https://github.com/llvm/llvm-project/pull/77214
More information about the cfe-commits
mailing list