Warning, /include/clang/Basic/FPOptions.def is written in an unsupported language. File is not indexed.
0001 //===--- FPOptions.def - Floating Point Options database --------*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008
0009 // This file defines the Floating Point language options. Users of this file
0010 // must define the OPTION macro to make use of this information.
0011 #ifndef OPTION
0012 # error Define the OPTION macro to handle floating point language options
0013 #endif
0014
0015 // OPTION(name, type, width, previousName)
0016 OPTION(FPContractMode, LangOptions::FPModeKind, 2, First)
0017 OPTION(RoundingMath, bool, 1, FPContractMode)
0018 OPTION(ConstRoundingMode, LangOptions::RoundingMode, 3, RoundingMath)
0019 OPTION(SpecifiedExceptionMode, LangOptions::FPExceptionModeKind, 2, ConstRoundingMode)
0020 OPTION(AllowFEnvAccess, bool, 1, SpecifiedExceptionMode)
0021 OPTION(AllowFPReassociate, bool, 1, AllowFEnvAccess)
0022 OPTION(NoHonorNaNs, bool, 1, AllowFPReassociate)
0023 OPTION(NoHonorInfs, bool, 1, NoHonorNaNs)
0024 OPTION(NoSignedZero, bool, 1, NoHonorInfs)
0025 OPTION(AllowReciprocal, bool, 1, NoSignedZero)
0026 OPTION(AllowApproxFunc, bool, 1, AllowReciprocal)
0027 OPTION(FPEvalMethod, LangOptions::FPEvalMethodKind, 2, AllowApproxFunc)
0028 OPTION(Float16ExcessPrecision, LangOptions::ExcessPrecisionKind, 2, FPEvalMethod)
0029 OPTION(BFloat16ExcessPrecision, LangOptions::ExcessPrecisionKind, 2, Float16ExcessPrecision)
0030 OPTION(MathErrno, bool, 1, BFloat16ExcessPrecision)
0031 OPTION(ComplexRange, LangOptions::ComplexRangeKind, 2, MathErrno)
0032 #undef OPTION