History

Don't use tabs for indentation in multi-line macros

The astyle configuration makes sure normal code is indented consistently with 2 spaces, but astyle doesn't seem to touch the indentation in these multi-line macros.

Martin Storsjö committed 11 years ago

Commit dd913ef1 parent cf33d709 files · +85 −85Browse files

Showing the changes to test/processing/ProcessUT_VaaCalc.cpp (1 of 9 files). Show all

Unified · Split

test/processing/ProcessUT_VaaCalc.cpp+10−10
@@ -576,20 +576,20 @@ TEST (VAACalcFuncTest, func) { \ · 575 unmodified lines
576576 if (0 == (m_uiCpuFeatureFlag & CPUFLAGS)) \
577577 return; \
578578 } \
579− ENFORCE_STACK_ALIGN_1D (uint8_t, cur_data_c, BUFFER_SIZE, 16); \
579+ ENFORCE_STACK_ALIGN_1D (uint8_t, cur_data_c, BUFFER_SIZE, 16); \
580580 ENFORCE_STACK_ALIGN_1D (uint8_t, ref_data_c, BUFFER_SIZE, 16); \
581581 ENFORCE_STACK_ALIGN_1D (int32_t, psad8x8_c, BUFFER_SIZE/64, 16); \
582− int32_t pic_width_c; \
583− int32_t pic_height_c; \
584− int32_t pic_stride_c; \
585− int32_t psadframe_c; \
586− ENFORCE_STACK_ALIGN_1D (uint8_t, cur_data_a, BUFFER_SIZE, 16); \
582+ int32_t pic_width_c; \
583+ int32_t pic_height_c; \
584+ int32_t pic_stride_c; \
585+ int32_t psadframe_c; \
586+ ENFORCE_STACK_ALIGN_1D (uint8_t, cur_data_a, BUFFER_SIZE, 16); \
587587 ENFORCE_STACK_ALIGN_1D (uint8_t, ref_data_a, BUFFER_SIZE, 16); \
588588 ENFORCE_STACK_ALIGN_1D (int32_t, psad8x8_a, BUFFER_SIZE/64, 16); \
589− int32_t pic_width_a; \
590− int32_t pic_height_a; \
591− int32_t pic_stride_a; \
592− int32_t psadframe_a; \
589+ int32_t pic_width_a; \
590+ int32_t pic_height_a; \
591+ int32_t pic_stride_a; \
592+ int32_t psadframe_a; \
593593 pic_width_c = pic_width_a = 320-16; \
594594 pic_height_c = pic_height_a = 320; \
595595 pic_stride_c = pic_stride_a = 320; \

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t