forked from OSchip/llvm-project
flang: Fix flang build with -Wctad-maybe-unsupported
Shooting from the hip since I don't have a flang build locally, but hopefully this works.
This commit is contained in:
parent
11f45f36dc
commit
248591aabe
|
@ -123,6 +123,9 @@ 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{[] { \
|
||||
|
|
Loading…
Reference in New Issue