From 2aad0564cb691572c47e568214af0d9facdb8d40 Mon Sep 17 00:00:00 2001 From: Jean Perier Date: Fri, 12 Apr 2019 02:31:54 -0700 Subject: [PATCH] [flang] address comment. Follow style guideline Original-commit: flang-compiler/f18@60da44dc7df4bd438e14fc8d8d4eb6db208f18e8 Tree-same-pre-rewrite: false --- flang/lib/evaluate/host.cc | 2 +- flang/lib/evaluate/host.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/flang/lib/evaluate/host.cc b/flang/lib/evaluate/host.cc index 713032a..a8ae663 100644 --- a/flang/lib/evaluate/host.cc +++ b/flang/lib/evaluate/host.cc @@ -35,7 +35,7 @@ void HostFloatingPointEnvironment::SetUpHostFloatingPointEnvironment( return; } #if __x86_64__ - HasSubnormalFlushingHardwareControl_ = true; + hasSubnormalFlushingHardwareControl_ = true; if (context.flushSubnormalsToZero()) { currentFenv_.__mxcsr |= 0x8000; // result currentFenv_.__mxcsr |= 0x0040; // operands diff --git a/flang/lib/evaluate/host.h b/flang/lib/evaluate/host.h index 4686e34..39665f9 100644 --- a/flang/lib/evaluate/host.h +++ b/flang/lib/evaluate/host.h @@ -40,13 +40,13 @@ public: void SetUpHostFloatingPointEnvironment(FoldingContext &); void CheckAndRestoreFloatingPointEnvironment(FoldingContext &); bool HasSubnormalFlushingHardwareControl() { - return HasSubnormalFlushingHardwareControl_; + return hasSubnormalFlushingHardwareControl_; } private: std::fenv_t originalFenv_; std::fenv_t currentFenv_; - bool HasSubnormalFlushingHardwareControl_{false}; + bool hasSubnormalFlushingHardwareControl_{false}; }; // Type mapping from F18 types to host types -- 2.7.4