[flang] Fix clang-format issues identified during relicensing

While running clang-format during the relicensing, there were
a few files that showed minor format issues that could be cleaned
up. These changes address them.

Original-commit: flang-compiler/f18@b308f9e35a
Reviewed-on: https://github.com/flang-compiler/f18/pull/890
This commit is contained in:
Gary Klimowicz 2019-12-23 11:16:00 -08:00
parent 6ba7d300aa
commit a0caa6af36
3 changed files with 3 additions and 3 deletions

View File

@ -594,7 +594,8 @@ static const IntrinsicInterface genericIntrinsicFunction[]{
Rank::scalar},
{"rank", {{"a", AnyData, Rank::anyOrAssumedRank}}, DefaultInt,
Rank::scalar},
{"real", {{"a", SameComplex, Rank::elemental}}, SameReal}, // 16.9.160(4)(ii)
{"real", {{"a", SameComplex, Rank::elemental}},
SameReal}, // 16.9.160(4)(ii)
{"real", {{"a", AnyNumeric, Rank::elementalOrBOZ}, DefaultingKIND},
KINDReal},
{"reduce",

View File

@ -33,4 +33,3 @@
TYPE_PARSER(CONTEXT_PARSER((contextText), (pexpr)))
#endif

View File

@ -11,7 +11,7 @@ ScopedHostFloatingPointEnvironment::ScopedHostFloatingPointEnvironment(
#else
bool, bool
#endif
) {
) {
errno = 0;
if (feholdexcept(&originalFenv_) != 0) {
std::fprintf(stderr, "feholdexcept() failed: %s\n", std::strerror(errno));