================
@@ -168,6 +168,8 @@ class State {
/// is set; this is used when evaluating ICEs in C.
bool CheckingForUndefinedBehavior = false;
+ bool TryConstantInitialization = false;
----------------
Sirraide wrote:
A comment explaining what this is for would be nice. Also, if this keeps track
of whether we’re performing trial evaluation, then I’d prefer a name along the
lines of `PerformingTrialEvaluation`, because as-is that’s not clear to me (or
rather, it only is because you mentioned that we needed to keep track of this
the other day)
https://github.com/llvm/llvm-project/pull/173537
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits