openocd/src
Antonio Borneo 2bbd85a828 flash/nor/stmsmi: fix compile error with clang 12.0.0
The git preliminarily version of clang 12.0.0_r370171
f067bc3c0ad6 reports an error in the expansion of the macro
SMI_READ_REG():

	error: '(' and '{' tokens introducing statement expression
		appear in different macro expansion contexts
		[-Werror,-Wcompound-token-split-by-macro]

Remove one intermediate macro expansion to make clang happy.

Change-Id: I8ae6d9c18808467ba8044d70cbf0a4f76a18d3e6
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5958
Tested-by: jenkins
Reviewed-by: Xiaofan <xiaofanc@gmail.com>
2020-12-09 14:30:27 +00:00
..
flash flash/nor/stmsmi: fix compile error with clang 12.0.0 2020-12-09 14:30:27 +00:00
helper jep106: Add new IDs from JEDEC 2020-12-05 23:17:48 +00:00
jtag jtag/drivers/ulink: auto-detect OpenULINK USB endpoints numbers 2020-12-09 14:29:57 +00:00
pld openocd: use proper format with uint32_t 2020-09-05 17:12:44 +01:00
rtos rtos: make private the API rtos_try_next() 2020-11-04 17:39:42 +00:00
rtt Add initial RTT support 2020-12-02 23:15:52 +00:00
server Add initial RTT support 2020-12-02 23:15:52 +00:00
svf openocd: fix command's usage string 2020-09-05 17:13:10 +01:00
target target/register: use an array of uint8_t for register's value 2020-12-05 23:18:37 +00:00
transport build: fix build with --enable-minidriver-dummy 2020-11-07 20:53:39 +00:00
xsvf openocd: avoid checking for non NULL pointer to free it 2020-09-05 17:11:50 +01:00
Makefile.am Add initial RTT support 2020-12-02 23:15:52 +00:00
hello.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
hello.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
main.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
openocd.c Add initial RTT support 2020-12-02 23:15:52 +00:00
openocd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00