Skip to content
Commit 65dca4cb authored by Timm Bäder's avatar Timm Bäder
Browse files

[clang][Interp] Fix tests for ignored expressions

We didn't call the function explicitly in a static_assert() statement
and the checkPotentialConstantExpression() invocation quietly aborted
early because of the missing initializer for A::a.

Fix this by calling ignoredExprs() explicitly.

Differential Revision: https://reviews.llvm.org/D149965
parent 4e130420
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment