I think clang-format have some kind of problem with directive _Pragma("once") vs #pragma once - please see example below - namespaces indent changes depending on the pragma directive type used.
First way to use:
_Pragma("once")
#include <stdint.h>
#include "board/clock_config.h"
#include "board/pin_mux.h"
#include "fsl_uart.h"
namespace wam {
namespace board_1938 {
Second way:
#pragma once
#include <stdint.h>
#include "board/clock_config.h"
#include "board/pin_mux.h"
#include "fsl_uart.h"
namespace wam {
namespace board_1938 {