all: Annotate some tables to have clang-format leave them alone

One of the shortcomings of clang-format is that it doesn't allow
for aligned define tables, which is used for a number of constants.

Add annotation to disable the automatic formatting where needed.

Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
Olof Johansson authored and Anup Patel committed 2019-04-24 09:49:46 +05:30
1 parent 97fb8c0e3b
commit fbf986ac2a
18 files changed
+72 -1

No files matched your search

+4
View File
@@ -17,6 +17,8 @@
#include <plat/serial/uart8250.h>
#include <plat/sys/clint.h>
/* clang-format off */
#define VIRT_HART_COUNT 8
#define VIRT_HART_STACK_SIZE 8192
@@ -34,6 +36,8 @@
#define VIRT_UART_BAUDRATE 115200
#define VIRT_UART_SHIFTREG_ADDR 1843200
/* clang-format on */
static int virt_final_init(bool cold_boot)
{
void *fdt;