https://github.com/offsetof updated
https://github.com/llvm/llvm-project/pull/133747
>From 175e2531de9e2fceb72b25aed5073b225e2495ac Mon Sep 17 00:00:00 2001
From: offsetof
Date: Mon, 31 Mar 2025 16:35:03 +
Subject: [PATCH 1/2] [clang] Implement CWG2611
CWG2611 "Missing parentheses in expan
@@ -35,6 +35,29 @@ namespace std {
template T declval();
} // namespace std
+namespace cwg2611 { // cwg2611: 21
+#if __cpp_fold_expressions >= 201603
Endilll wrote:
```suggestion
#if __cplusplus >= 201703L
```
https://github.com/llvm/llvm-project/pull/1337
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (offsetof)
Changes
CWG2611 "Missing parentheses in expansion of fold-expression could cause
syntactic reinterpretation"
Fixes #57396
---
Full diff: https://github.com/llvm/llvm-project/pull/133747.diff
6 Files Affected:
- (modifi
https://github.com/offsetof created
https://github.com/llvm/llvm-project/pull/133747
CWG2611 "Missing parentheses in expansion of fold-expression could cause
syntactic reinterpretation"
Fixes #57396
>From 175e2531de9e2fceb72b25aed5073b225e2495ac Mon Sep 17 00:00:00 2001
From: offsetof
Date: