aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorJan Kuhle <jankuehle@google.com>2023-05-10 15:11:50 +0200
committerKrasimir Georgiev <krasimir@google.com>2023-05-10 15:27:03 +0200
commit34b422bafbd934ee3c644fd7a8f0b6803976c818 (patch)
treea90f600db1dc1bab0968b3f1dfefd24325b89738 /lldb/source/Plugins/ScriptInterpreter/Python
parenta414db1d8e3173faca024d4532a4c655a1fe02c0 (diff)
downloadllvm-34b422bafbd934ee3c644fd7a8f0b6803976c818.zip
llvm-34b422bafbd934ee3c644fd7a8f0b6803976c818.tar.gz
llvm-34b422bafbd934ee3c644fd7a8f0b6803976c818.tar.bz2
clang-format: [JS] support import/export type
Contributed by @jankuehle! Users can choose to only import/export the type of the symbol (not value nor namespace) by adding a `type` keyword, e.g.: ``` import type {x} from 'y'; import {type x} from 'y'; export type {x}; export {type x}; ``` Previously, this was not handled and would: - Terminate import sorting - Remove the space before the curly bracket in `export type {` With this change, both formatting and import sorting work as expected. Reviewed By: MyDeveloperDay, krasimir Differential Revision: https://reviews.llvm.org/D150116
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions