From: Benjamin Kramer Date: Sun, 9 Dec 2012 21:58:24 +0000 (+0000) Subject: Unbreak the clang build after r169712. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=29573b0a825b888c233d7859a257e866ffc5276e;p=clang Unbreak the clang build after r169712. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169713 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CodeGenFunction.cpp b/lib/CodeGen/CodeGenFunction.cpp index cdbd0295c0..b35c7983b2 100644 --- a/lib/CodeGen/CodeGenFunction.cpp +++ b/lib/CodeGen/CodeGenFunction.cpp @@ -50,10 +50,10 @@ CodeGenFunction::CodeGenFunction(CodeGenModule &cgm, bool suppressNewContext) llvm::FastMathFlags FMF; if (CGM.getLangOpts().FastMath) - FMF.UnsafeAlgebra = true; + FMF.setUnsafeAlgebra(); if (CGM.getLangOpts().FiniteMathOnly) { - FMF.NoNaNs = true; - FMF.NoInfs = true; + FMF.setNoNaNs(); + FMF.setNoInfs(); } Builder.SetFastMathFlags(FMF); }