[clang] [clang] Implement CWG1719 "Layout compatibility and cv-qualification revisited" (PR #82358)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 20 11:00:44 PST 2024


================
@@ -120,6 +119,10 @@ Resolutions to C++ Defect Reports
   in the template parameters, but is deduced from a previous argument.
   (`#78449: <https://github.com/llvm/llvm-project/issues/78449>`_).
 
+- ``const`` and ``volatile`` qualifiers are now ignored when evaluating
----------------
AaronBallman wrote:

Hmmm, how about: `Type qualifications are now ignored when evaluating layout compatibility of two types." so we can side-step things like `__restrict` or type attributes?

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


More information about the cfe-commits mailing list