forked from OSchip/llvm-project
[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:
parent
6ba7d300aa
commit
a0caa6af36
|
@ -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",
|
||||
|
|
|
@ -33,4 +33,3 @@
|
|||
TYPE_PARSER(CONTEXT_PARSER((contextText), (pexpr)))
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue