[PATCH] D39679: [C++11] Fix warning when dropping cv-qualifiers when assigning to a reference with a braced initializer list
Nicolas Lesser via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 14 11:34:40 PDT 2018
Rakete1111 updated this revision to Diff 138423.
Rakete1111 added a comment.
Addressed review comments :)
I added a test case for the crashing code.
Note: I didn't change `Args` to `OnlyArg` in `FK_AddressOfUnaddressableFunction`, because I'm pretty sure that C++ doesn't have unaddressable functions and thus there is no need to decompose an initializer list. Is this correct?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6531 bytes
Desc: not available
More information about the cfe-commits