================
@@ -373,6 +378,7 @@ class SemanticsContext {
ScopeIndex scopeIndex_;
parser::Messages messages_;
std::size_t maxErrors_{0};
+ common::FPMaxminBehavior fpMaxminBehavior_{common::FPMaxminBehavior::Legacy};
evaluate::FoldingContext foldingContext_;
----------------
jeanPerier wrote:
Why not using the one of the FoldingContext?
It seems having a different field in both opens up the door for weird
inconsistencies.
https://github.com/llvm/llvm-project/pull/184730
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits