diff options
author | Erich Keane <erich.keane@intel.com> | 2019-07-25 15:10:56 +0000 |
---|---|---|
committer | Erich Keane <erich.keane@intel.com> | 2019-07-25 15:10:56 +0000 |
commit | 46441fdb3c1da5d2c40263d160bdd585f0c3f7d3 (patch) | |
tree | a28227894949958ce45cccfaa7849b40d711d6ee /lldb/packages/Python/lldbsuite/test/sample_test/TestSampleInlineTest.py | |
parent | 207726c8825aa24d8464f6b349c1723a2b7df902 (diff) | |
download | bcm5719-llvm-46441fdb3c1da5d2c40263d160bdd585f0c3f7d3.tar.gz bcm5719-llvm-46441fdb3c1da5d2c40263d160bdd585f0c3f7d3.zip |
Implement P1771
As passed in the Cologne meeting and treated by Core as a DR,
[[nodiscard]] was applied to constructors so that they can be diagnosed
in cases where the user forgets a variable name for a type.
The intent is to enable the library to start using this on the
constructors of scope_guard/lock_guard.
Differential Revision: https://reviews.llvm.org/D64914
llvm-svn: 367027
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/sample_test/TestSampleInlineTest.py')
0 files changed, 0 insertions, 0 deletions