Skip to content

Commit 63ccc17

Browse files
committed
Rename getInsideFPOptions to getActiveFPOptions
1 parent a472163 commit 63ccc17

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

clang/include/clang/AST/Stmt.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1684,10 +1684,10 @@ class CompoundStmt final
16841684
return hasStoredFPFeatures() ? getStoredFPFeatures() : FPOptionsOverride();
16851685
}
16861686

1687-
/// Get FPOptions inside this statement. They may differ from the outer
1687+
/// Get FPOptions active inside this statement. They may differ from the outer
16881688
/// options due to pragmas.
16891689
/// \param CurFPOptions FPOptions outside this statement.
1690-
FPOptions getInsideFPOptions(FPOptions CurFPOptions) const {
1690+
FPOptions getActiveFPOptions(FPOptions CurFPOptions) const {
16911691
return hasStoredFPFeatures()
16921692
? getStoredFPFeatures().applyOverrides(CurFPOptions)
16931693
: CurFPOptions;

clang/lib/CodeGen/CGStmt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ CodeGenFunction::EmitCompoundStmtWithoutScope(const CompoundStmt &S,
524524

525525
// Optionally set up the new FP environment, if the compound statement
526526
// contains a pragma that modifies it.
527-
FPOptions NewFP = S.getInsideFPOptions(CurFPFeatures);
527+
FPOptions NewFP = S.getActiveFPOptions(CurFPFeatures);
528528
CGFPOptionsRAII SavedFPFeatues(*this, NewFP);
529529

530530
Address RetAlloca = Address::invalid();

0 commit comments

Comments
 (0)