aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2019-10-09 02:04:54 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2019-10-09 02:04:54 +0000
commit4a6861a7e5b59be24a09b8b9782255d028e7aade (patch)
tree0ad9b4e49836dad0da2025bc3f474f0739b4d493 /lldb/source/Plugins/ScriptInterpreter/Python
parent84ef9c64937dd5d6d2acde1af88220739d819e5f (diff)
downloadllvm-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')
0 files changed, 0 insertions, 0 deletions