clang  8.0.0svn
Public Member Functions | List of all members
clang::FPOptions Class Reference

Floating point control options. More...

#include "clang/Basic/LangOptions.h"

Public Member Functions

 FPOptions ()
 
 FPOptions (unsigned I)
 
 FPOptions (const LangOptions &LangOpts)
 
bool allowFPContractWithinStatement () const
 
bool allowFPContractAcrossStatement () const
 
void setAllowFPContractWithinStatement ()
 
void setAllowFPContractAcrossStatement ()
 
void setDisallowFPContract ()
 
bool allowFEnvAccess () const
 
void setAllowFEnvAccess ()
 
void setDisallowFEnvAccess ()
 
unsigned getInt () const
 Used to serialize this. More...
 

Detailed Description

Floating point control options.

Definition at line 274 of file LangOptions.h.

Constructor & Destructor Documentation

◆ FPOptions() [1/3]

clang::FPOptions::FPOptions ( )
inline

Definition at line 276 of file LangOptions.h.

◆ FPOptions() [2/3]

clang::FPOptions::FPOptions ( unsigned  I)
inlineexplicit

Definition at line 280 of file LangOptions.h.

◆ FPOptions() [3/3]

clang::FPOptions::FPOptions ( const LangOptions LangOpts)
inlineexplicit

Definition at line 285 of file LangOptions.h.

Member Function Documentation

◆ allowFEnvAccess()

bool clang::FPOptions::allowFEnvAccess ( ) const
inline

Definition at line 308 of file LangOptions.h.

References clang::LangOptions::FEA_On.

Referenced by clang::BinaryOperator::isFEnvAccessOn().

◆ allowFPContractAcrossStatement()

bool clang::FPOptions::allowFPContractAcrossStatement ( ) const
inline

Definition at line 294 of file LangOptions.h.

References clang::LangOptions::FPC_Fast.

◆ allowFPContractWithinStatement()

bool clang::FPOptions::allowFPContractWithinStatement ( ) const
inline

◆ getInt()

unsigned clang::FPOptions::getInt ( ) const
inline

Used to serialize this.

Definition at line 319 of file LangOptions.h.

Referenced by clang::BinaryOperator::setFPFeatures().

◆ setAllowFEnvAccess()

void clang::FPOptions::setAllowFEnvAccess ( )
inline

Definition at line 312 of file LangOptions.h.

References clang::LangOptions::FEA_On.

Referenced by clang::Sema::ActOnPragmaFEnvAccess().

◆ setAllowFPContractAcrossStatement()

void clang::FPOptions::setAllowFPContractAcrossStatement ( )
inline

Definition at line 302 of file LangOptions.h.

References clang::LangOptions::FPC_Fast.

Referenced by clang::Sema::ActOnPragmaFPContract().

◆ setAllowFPContractWithinStatement()

void clang::FPOptions::setAllowFPContractWithinStatement ( )
inline

Definition at line 298 of file LangOptions.h.

References clang::LangOptions::FPC_On.

Referenced by clang::Sema::ActOnPragmaFPContract().

◆ setDisallowFEnvAccess()

void clang::FPOptions::setDisallowFEnvAccess ( )
inline

Definition at line 316 of file LangOptions.h.

References clang::LangOptions::FEA_Off.

Referenced by clang::Sema::ActOnPragmaFEnvAccess().

◆ setDisallowFPContract()

void clang::FPOptions::setDisallowFPContract ( )
inline

Definition at line 306 of file LangOptions.h.

References clang::LangOptions::FPC_Off.

Referenced by clang::Sema::ActOnPragmaFPContract().


The documentation for this class was generated from the following file: