Clang formatter: add indent to wrapped functions names. (#548)
This commit is contained in:
parent
a0e1e42f2d
commit
8211432685
@ -41,7 +41,7 @@ IncludeIsMainRegex: '(Test)?$'
|
||||
IndentCaseLabels: false
|
||||
IndentPPDirectives: None
|
||||
IndentWidth: 4
|
||||
IndentWrappedFunctionNames: false
|
||||
IndentWrappedFunctionNames: true
|
||||
JavaScriptQuotes: Leave
|
||||
JavaScriptWrapImports: true
|
||||
KeepEmptyLinesAtTheStartOfBlocks: false
|
||||
|
@ -15,8 +15,10 @@ public:
|
||||
|
||||
private:
|
||||
static bool DoWiegandConversion();
|
||||
static unsigned long
|
||||
GetCardId(volatile unsigned long* codehigh, volatile unsigned long* codelow, char bitlength);
|
||||
static unsigned long GetCardId(
|
||||
volatile unsigned long* codehigh,
|
||||
volatile unsigned long* codelow,
|
||||
char bitlength);
|
||||
|
||||
static volatile unsigned long _cardTempHigh;
|
||||
static volatile unsigned long _cardTemp;
|
||||
|
@ -37,8 +37,11 @@ MenuItem* menu_item_alloc_menu(const char* label, Icon* icon) {
|
||||
return menu_item;
|
||||
}
|
||||
|
||||
MenuItem*
|
||||
menu_item_alloc_function(const char* label, Icon* icon, MenuItemCallback callback, void* context) {
|
||||
MenuItem* menu_item_alloc_function(
|
||||
const char* label,
|
||||
Icon* icon,
|
||||
MenuItemCallback callback,
|
||||
void* context) {
|
||||
MenuItem* menu_item = menu_item_alloc();
|
||||
|
||||
menu_item->type = MenuItemTypeFunction;
|
||||
|
@ -16,8 +16,11 @@ ARRAY_DEF(MenuItemArray, MenuItem*, M_PTR_OPLIST);
|
||||
|
||||
MenuItem* menu_item_alloc_menu(const char* label, Icon* icon);
|
||||
|
||||
MenuItem*
|
||||
menu_item_alloc_function(const char* label, Icon* icon, MenuItemCallback callback, void* context);
|
||||
MenuItem* menu_item_alloc_function(
|
||||
const char* label,
|
||||
Icon* icon,
|
||||
MenuItemCallback callback,
|
||||
void* context);
|
||||
|
||||
void menu_item_release(MenuItem* menu_item);
|
||||
|
||||
|
@ -18,8 +18,9 @@ static void test_teardown(void) {
|
||||
irda_free_decoder(decoder);
|
||||
}
|
||||
|
||||
static void
|
||||
compare_message_results(const IrdaMessage* message_decoded, const IrdaMessage* message_expected) {
|
||||
static void compare_message_results(
|
||||
const IrdaMessage* message_decoded,
|
||||
const IrdaMessage* message_expected) {
|
||||
mu_check(message_decoded->protocol == message_expected->protocol);
|
||||
mu_check(message_decoded->command == message_expected->command);
|
||||
mu_check(message_decoded->address == message_expected->address);
|
||||
|
Loading…
Reference in New Issue
Block a user