[clang] [Clang] Implement P2280R4 Using unknown pointers and references in constant expressions (PR #95474)

Mariya Podchishchaeva via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 14 02:18:49 PDT 2024


================
@@ -3700,6 +3730,11 @@ findSubobject(EvalInfo &Info, const Expr *E, const CompleteObject &Obj,
   const FieldDecl *LastField = nullptr;
   const FieldDecl *VolatileField = nullptr;
 
+  // P2280R4 If we have an unknown referene or pointer and we don't have a
----------------
Fznamznon wrote:

```suggestion
  // P2280R4 If we have an unknown reference or pointer and we don't have a
```

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


More information about the cfe-commits mailing list