[flang-commits] [flang] e4c4841 - [Flang][NFC] fix a cpoy-paste in fold-logical.cpp
Shivam Gupta via flang-commits
flang-commits at lists.llvm.org
Sun Jan 22 08:12:01 PST 2023
Author: Shivam Gupta
Date: 2023-01-22T21:42:42+05:30
New Revision: e4c4841e5bbaf6d09aff65387102ed22a9eac60b
URL: https://github.com/llvm/llvm-project/commit/e4c4841e5bbaf6d09aff65387102ed22a9eac60b
DIFF: https://github.com/llvm/llvm-project/commit/e4c4841e5bbaf6d09aff65387102ed22a9eac60b.diff
LOG: [Flang][NFC] fix a cpoy-paste in fold-logical.cpp
found by PVS-Studio.
Added:
Modified:
flang/lib/Evaluate/fold-logical.cpp
Removed:
################################################################################
diff --git a/flang/lib/Evaluate/fold-logical.cpp b/flang/lib/Evaluate/fold-logical.cpp
index 8adf632c4c56..b2762cd4ff9e 100644
--- a/flang/lib/Evaluate/fold-logical.cpp
+++ b/flang/lib/Evaluate/fold-logical.cpp
@@ -223,7 +223,6 @@ Expr<Type<TypeCategory::Logical, KIND>> FoldIntrinsicFunction(
} else if (name == "__builtin_ieee_support_datatype" ||
name == "__builtin_ieee_support_denormal" ||
name == "__builtin_ieee_support_divide" ||
- name == "__builtin_ieee_support_divide" ||
name == "__builtin_ieee_support_inf" ||
name == "__builtin_ieee_support_io" ||
name == "__builtin_ieee_support_nan" ||
More information about the flang-commits
mailing list