Skip to content

Commit ae98d12

Browse files
haonanya1sys-ce-bb
authored andcommitted
Fix AST lit failures. (#13557)
Let MathErrno reference the previous item FPAccuracy. Fix: Clang::AST/ast-dump-fpfeatures.cpp Clang::AST/ast-dump-fpfeatures.m Clang::AST/ast-dump-late-parsing.cpp
1 parent 2551851 commit ae98d12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/include/clang/Basic/FPOptions.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ OPTION(FPEvalMethod, LangOptions::FPEvalMethodKind, 2, AllowApproxFunc)
2828
OPTION(Float16ExcessPrecision, LangOptions::ExcessPrecisionKind, 2, FPEvalMethod)
2929
OPTION(BFloat16ExcessPrecision, LangOptions::ExcessPrecisionKind, 2, Float16ExcessPrecision)
3030
OPTION(FPAccuracy, LangOptions::FPAccuracyKind, 3, BFloat16ExcessPrecision)
31-
OPTION(MathErrno, bool, 1, BFloat16ExcessPrecision)
31+
OPTION(MathErrno, bool, 1, FPAccuracy)
3232
OPTION(ComplexRange, LangOptions::ComplexRangeKind, 2, MathErrno)
3333
#undef OPTION

0 commit comments

Comments
 (0)