Correct -Winfinite-recursion warning on potentially-unevaluated operand
Fixing issue "incorrect -Winfinite-recursion warning on potentially- unevaluated operand". We add a dedicated visit function (VisitCXXTypeidExpr) for typeid, instead of using the default (VisitStmt). In this new function we skip over building the CFG for unevaluated operands of typeid. Fixes #21668 Differential Revision: https://reviews.llvm.org/D128747
Loading
Please sign in to comment