Changeset View
Changeset View
Standalone View
Standalone View
clang/include/clang/AST/Expr.h
Show First 20 Lines • Show All 2,316 Lines • ▼ Show 20 Lines | |||||
public: | public: | ||||
// Get the FP features status of this operator. Only meaningful for | // Get the FP features status of this operator. Only meaningful for | ||||
// operations on floating point types. | // operations on floating point types. | ||||
FPOptions getFPFeaturesInEffect(const LangOptions &LO) const { | FPOptions getFPFeaturesInEffect(const LangOptions &LO) const { | ||||
if (UnaryOperatorBits.HasFPFeatures) | if (UnaryOperatorBits.HasFPFeatures) | ||||
return getStoredFPFeatures().applyOverrides(LO); | return getStoredFPFeatures().applyOverrides(LO); | ||||
return FPOptions::defaultWithoutTrailingStorage(LO); | return FPOptions::defaultWithoutTrailingStorage(LO); | ||||
} | } | ||||
FPOptionsOverride getFPOptionsOverride() const { | |||||
if (UnaryOperatorBits.HasFPFeatures) | FPOptionsOverride getFPFeatures() const { | ||||
if (hasStoredFPFeatures()) | |||||
return getStoredFPFeatures(); | return getStoredFPFeatures(); | ||||
return FPOptionsOverride(); | return FPOptionsOverride(); | ||||
} | } | ||||
friend TrailingObjects; | friend TrailingObjects; | ||||
friend class ASTReader; | friend class ASTReader; | ||||
friend class ASTStmtReader; | friend class ASTStmtReader; | ||||
friend class ASTStmtWriter; | friend class ASTStmtWriter; | ||||
▲ Show 20 Lines • Show All 4,133 Lines • Show Last 20 Lines |