Details
Details
- Reviewers
ldionne Mordante var-const huixie90 - Group Reviewers
Restricted Project - Commits
- rG65df5bf2d1fb: [lbc++] Implement the rest of P0600R1 (nodiscard in the library)
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
LGTM w/ comments applied and CI passing.
libcxx/test/std/utilities/utility/mem.res/nodiscard.verify.cpp | ||
---|---|---|
1 | Can you please make this // UNSUPPORTED: c++03, c++11, c++14, c++17 so that this is a conformance test without any extensions in it? Then, add another test in libcxx/test/libcxx/ .... that checks the extension in C++17 mode. This is nitpicky, but I would like to keep the test for the extension separate. | |
12 | Please add the synopsis of the functions you're checking for nodiscardness. |
Can you please make this // UNSUPPORTED: c++03, c++11, c++14, c++17 so that this is a conformance test without any extensions in it? Then, add another test in libcxx/test/libcxx/ .... that checks the extension in C++17 mode. This is nitpicky, but I would like to keep the test for the extension separate.