Changeset View
Changeset View
Standalone View
Standalone View
clang/include/clang/Sema/Sema.h
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
Show First 20 Lines • Show All 1,564 Lines • ▼ Show 20 Lines | |||||
/// Records and restores the CurFPFeatures state on entry/exit of compound | /// Records and restores the CurFPFeatures state on entry/exit of compound | ||||
/// statements. | /// statements. | ||||
class FPFeaturesStateRAII { | class FPFeaturesStateRAII { | ||||
public: | public: | ||||
FPFeaturesStateRAII(Sema &S); | FPFeaturesStateRAII(Sema &S); | ||||
~FPFeaturesStateRAII(); | ~FPFeaturesStateRAII(); | ||||
FPOptionsOverride getOverrides() { return OldOverrides; } | FPOptionsOverride getOverrides() { return OldOverrides; } | ||||
FPOptions getFPFeatures() { return OldFPFeaturesState; } | |||||
private: | private: | ||||
Sema& S; | Sema& S; | ||||
FPOptions OldFPFeaturesState; | FPOptions OldFPFeaturesState; | ||||
FPOptionsOverride OldOverrides; | FPOptionsOverride OldOverrides; | ||||
LangOptions::FPEvalMethodKind OldEvalMethod; | LangOptions::FPEvalMethodKind OldEvalMethod; | ||||
SourceLocation OldFPPragmaLocation; | SourceLocation OldFPPragmaLocation; | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 12,047 Lines • Show Last 20 Lines |