[clang] Fix math-errno issue (PR #66381)
Joshua Cranmer via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 15 13:37:11 PDT 2023
================
@@ -2313,14 +2313,20 @@ RValue CodeGenFunction::EmitBuiltinExpr(const GlobalDecl GD, unsigned BuiltinID,
FD->hasAttr<AsmLabelAttr>() ? 0 : BuiltinID;
bool ErrnoOverriden = false;
- // True if math-errno is overriden via the
+ bool ErrnoOverrideValue = false;
----------------
jcranmer-intel wrote:
This might be easier to understand if you replaced these two variables with a single `std::optional<bool> ErrnoOverride`.
https://github.com/llvm/llvm-project/pull/66381
More information about the cfe-commits
mailing list