Skip to content

Commit

Permalink
Fix issue with modules-implied-args.
Browse files Browse the repository at this point in the history
  • Loading branch information
zahiraam committed Jul 17, 2024
1 parent 4e0afa2 commit 50b2a87
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clang/lib/Basic/LangOptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ void LangOptions::resetNonModularOptions() {
// invocations that cannot be round-tripped to arguments.
// FIXME: we should derive this automatically from ImpliedBy in tablegen.
AllowFPReassoc = UnsafeFPMath;
NoHonorInfs = FastMath;
NoHonorNaNs = FastMath;

// These options do not affect AST generation.
NoSanitizeFiles.clear();
Expand Down

0 comments on commit 50b2a87

Please sign in to comment.