[PATCH] D65696: Implements CWG 2082 Referring to parameters in unevaluated operands of default arguments
Mark de Wever via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 15 11:33:28 PDT 2019
Mordante updated this revision to Diff 215448.
Mordante added a comment.
Updated the unit tests as requested. This required the `Sema::ActOnParamDefaultArgument` to delay a part of the ODR validation until the default argument has been 'instantiated'.
As discussed on IRC; the up to date `cwg_index.html` is not public, so I only updated the unit test and removed the changes to `cxx_dr_status.html`.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65696/new/
https://reviews.llvm.org/D65696
Files:
clang/lib/Sema/SemaDeclCXX.cpp
clang/test/CXX/dcl.decl/dcl.fct.def/dcl.fct.def.default/p9.cpp
clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/p7.cpp
clang/test/CXX/drs/dr20xx.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65696.215448.patch
Type: text/x-patch
Size: 8595 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190815/912914a6/attachment.bin>
More information about the cfe-commits
mailing list