diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2019-10-09 02:04:54 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2019-10-09 02:04:54 +0000 |
| commit | 4a6861a7e5b59be24a09b8b9782255d028e7aade (patch) | |
| tree | 0ad9b4e49836dad0da2025bc3f474f0739b4d493 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | |
| parent | 84ef9c64937dd5d6d2acde1af88220739d819e5f (diff) | |
| download | llvm-4a6861a7e5b59be24a09b8b9782255d028e7aade.zip llvm-4a6861a7e5b59be24a09b8b9782255d028e7aade.tar.gz llvm-4a6861a7e5b59be24a09b8b9782255d028e7aade.tar.bz2 | |
[c++20] P1152R4: warn on any simple-assignment to a volatile lvalue
whose value is not ignored.
We don't warn on all the cases that are deprecated: specifically, we
choose to not warn for now if there are parentheses around the
assignment but its value is not actually used. This seems like a more
defensible rule, particularly for cases like sizeof(v = a), where the
parens are part of the operand rather than the sizeof syntax.
llvm-svn: 374135
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
0 files changed, 0 insertions, 0 deletions
