[clang] [Clang] Fix incorrect handling of #pragma {GCC} unroll N in dependent context (PR #90240)

via cfe-commits cfe-commits at lists.llvm.org
Sat Apr 27 06:05:46 PDT 2024


================
@@ -124,3 +124,40 @@ void test(int *List, int Length) {
 
 #pragma unroll
 /* expected-error {{expected statement}} */ }
+
+using size_t = unsigned long long;
+
+template <bool Flag>
----------------
yronglin wrote:

Agree!

https://github.com/llvm/llvm-project/pull/90240


More information about the cfe-commits mailing list