Skip to content

Commit 50b2a87

Browse files
committed
Fix issue with modules-implied-args.
1 parent 4e0afa2 commit 50b2a87

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang/lib/Basic/LangOptions.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ void LangOptions::resetNonModularOptions() {
3434
// invocations that cannot be round-tripped to arguments.
3535
// FIXME: we should derive this automatically from ImpliedBy in tablegen.
3636
AllowFPReassoc = UnsafeFPMath;
37+
NoHonorInfs = FastMath;
38+
NoHonorNaNs = FastMath;
3739

3840
// These options do not affect AST generation.
3941
NoSanitizeFiles.clear();

0 commit comments

Comments
 (0)