forked from OSchip/llvm-project
[flang] Fix typos and style in some comments
Original-commit: flang-compiler/f18@621ded353f Reviewed-on: https://github.com/flang-compiler/f18/pull/749
This commit is contained in:
parent
00c02c469c
commit
cd15ba5360
|
@ -89,7 +89,8 @@ void HostFloatingPointEnvironment::SetUpHostFloatingPointEnvironment(
|
|||
case RoundingMode::TiesAwayFromZero:
|
||||
fesetround(FE_TONEAREST);
|
||||
context.messages().Say(
|
||||
"TiesAwayFromZero rounding mode is not available not available when folding constants with host runtime. Using TiesToEven instead."_en_US);
|
||||
"TiesAwayFromZero rounding mode is not available when folding constants"
|
||||
" with host runtime; using TiesToEven instead"_en_US);
|
||||
break;
|
||||
}
|
||||
flags_.clear();
|
||||
|
|
|
@ -1685,7 +1685,7 @@ std::optional<SpecificCall> IntrinsicProcTable::Implementation::Probe(
|
|||
DynamicType newType{GetReturnType(*specIter->second, defaults_)};
|
||||
context.messages().Say(
|
||||
"Argument type does not match specific intrinsic '%s' "
|
||||
"requirements, using '%s' generic instead and converting the "
|
||||
"requirements; using '%s' generic instead and converting the "
|
||||
"result to %s if needed"_en_US,
|
||||
name, genericName, newType.AsFortran());
|
||||
specificCall->specificIntrinsic.characteristics.value()
|
||||
|
|
Loading…
Reference in New Issue