[flang-commits] [flang] fe7450b - Revert "flang: Fix flang build with -Wctad-maybe-unsupported"
David Blaikie via flang-commits
flang-commits at lists.llvm.org
Tue Aug 16 10:48:48 PDT 2022
Author: David Blaikie
Date: 2022-08-16T17:43:40Z
New Revision: fe7450b34def8b2188385a92cfdf14eb2521a602
URL: https://github.com/llvm/llvm-project/commit/fe7450b34def8b2188385a92cfdf14eb2521a602
DIFF: https://github.com/llvm/llvm-project/commit/fe7450b34def8b2188385a92cfdf14eb2521a602.diff
LOG: Revert "flang: Fix flang build with -Wctad-maybe-unsupported"
-Wctad-maybe-unsupported is now disabled for flang so these explicit
deduction guides are not required.
This reverts commit 248591aabee7fcc5246b67879b6a71b0bbbc0b9c.
Added:
Modified:
flang/include/flang/Common/idioms.h
Removed:
################################################################################
diff --git a/flang/include/flang/Common/idioms.h b/flang/include/flang/Common/idioms.h
index 696f272c6a1fa..1a086162f1e2a 100644
--- a/flang/include/flang/Common/idioms.h
+++ b/flang/include/flang/Common/idioms.h
@@ -123,9 +123,6 @@ template <typename A> struct ListItemCount {
const std::size_t value;
};
-template<typename A>
-ListItemCount(std::initializer_list<A>) -> ListItemCount<A>;
-
#define ENUM_CLASS(NAME, ...) \
enum class NAME { __VA_ARGS__ }; \
LLVM_ATTRIBUTE_UNUSED static constexpr std::size_t NAME##_enumSize{[] { \
More information about the flang-commits
mailing list