Update .clang-format and apply
Update .clang-format for LLVM 14.0, available on Ubuntu 22.04. There is still plenty that clang-format sucks at or does wrong, so either add some more blocks to disable it, or just put up with it. Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
committed by
Jeremy Soller
parent
c3267fc4ad
commit
e032c5f0f2
@ -4,7 +4,7 @@
|
||||
|
||||
// Prevent failures to compile on AVR
|
||||
#ifndef __SDCC
|
||||
#define __code
|
||||
#define __code
|
||||
#endif
|
||||
|
||||
// clang-format off
|
||||
@ -17,10 +17,10 @@ static const char __code VERSION[] =
|
||||
xstr(__FIRMWARE_VERSION__);
|
||||
// clang-format on
|
||||
|
||||
const char * board() {
|
||||
const char *board() {
|
||||
return &BOARD[11];
|
||||
}
|
||||
|
||||
const char * version() {
|
||||
const char *version() {
|
||||
return &VERSION[13];
|
||||
}
|
||||
|
Reference in New Issue
Block a user