aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorMelanie Blower <melanie.blower@intel.com>2020-09-29 10:44:36 -0700
committerMelanie Blower <melanie.blower@intel.com>2020-10-25 06:46:25 -0700
commit2e204e23911b1f8bd1463535da40c6e48747a138 (patch)
tree258e489841ba64dbd08205485f0ef481f06dd545 /clang/lib/CodeGen/CodeGenModule.h
parent3052e474eceb25e3699940d6a7270550eed66606 (diff)
downloadllvm-2e204e23911b1f8bd1463535da40c6e48747a138.zip
llvm-2e204e23911b1f8bd1463535da40c6e48747a138.tar.gz
llvm-2e204e23911b1f8bd1463535da40c6e48747a138.tar.bz2
[clang] Enable support for #pragma STDC FENV_ACCESS
Reviewers: rjmccall, rsmith, sepavloff Differential Revision: https://reviews.llvm.org/D87528
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index fc732db..b3babc8 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/lib/CodeGen/CodeGenModule.h
@@ -1131,6 +1131,10 @@ public:
/// definition.
void SetLLVMFunctionAttributesForDefinition(const Decl *D, llvm::Function *F);
+ /// Set the LLVM function attributes that represent floating point
+ /// environment.
+ void setLLVMFunctionFEnvAttributes(const FunctionDecl *D, llvm::Function *F);
+
/// Return true iff the given type uses 'sret' when used as a return type.
bool ReturnTypeUsesSRet(const CGFunctionInfo &FI);