[clang] fix error detection in consteval calls
Summary: code like: ``` consteval int f() { int *A = new int(0); return *A; } int i1 = f(); ``` currently doesn't generate any error. Reviewers: rsmith Reviewed By: rsmith Differential Revision: https://reviews.llvm.org/D74418
Loading
Please sign in to comment