HomePhabricator

Ensure that checkInitIsICE is called exactly once for every variable

Authored by rsmith on Oct 19 2020, 7:01 PM.

Description

Ensure that checkInitIsICE is called exactly once for every variable
for which it matters.

This is a step towards separating checking for a constant initializer
(in which std::is_constant_evaluated returns true) and any other
evaluation of a variable initializer (in which it returns false).