[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:
Jean Perier 2019-09-18 08:04:52 -07:00
parent 00c02c469c
commit cd15ba5360
2 changed files with 3 additions and 2 deletions

View File

@ -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();

View File

@ -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()