aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorTadeo Kondrak <me@tadeo.ca>2020-09-28 13:18:24 +0200
committerSam McCall <sam.mccall@gmail.com>2020-09-28 13:37:18 +0200
commit018066d9475dac8d4b7a91bf967ea9231ff4b3f1 (patch)
tree719fe9655808ea65958ec8687d14622f7e5e684d /lldb/unittests/ScriptInterpreter/Python
parent0b44bb8d40af9c634203a778fe34a9a4459d288f (diff)
downloadllvm-018066d9475dac8d4b7a91bf967ea9231ff4b3f1.zip
llvm-018066d9475dac8d4b7a91bf967ea9231ff4b3f1.tar.gz
llvm-018066d9475dac8d4b7a91bf967ea9231ff4b3f1.tar.bz2
[clangd] Add a tweak for filling in enumerators of a switch statement.
Add a tweak that populates an empty switch statement of an enumeration type with all of the enumerators of that type. Before: ``` enum Color { RED, GREEN, BLUE }; void f(Color color) { switch (color) {} } ``` After: ``` enum Color { RED, GREEN, BLUE }; void f(Color color) { switch (color) { case RED: case GREEN: case BLUE: break; } } ``` Reviewed By: sammccall Differential Revision: https://reviews.llvm.org/D88383
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions