We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2804a79 commit c2170a3Copy full SHA for c2170a3
flang/include/flang/Common/visit.h
@@ -88,7 +88,7 @@ inline RT_API_ATTRS auto visit(VISITOR &&visitor, VARIANT &&...u)
88
// Some versions of clang have bugs that cause compilation to hang
89
// on these templates. MSVC and older GCC versions may work but are
90
// not well tested. So enable only for GCC 9 and better.
91
-#if __GNUC__ < 9
+#if __GNUC__ < 9 && !defined(__clang__)
92
#define FLANG_USE_STD_VISIT
93
#endif
94
0 commit comments