From b4fb99220b037bddebe708a8b9542f41de7e31bd Mon Sep 17 00:00:00 2001 From: Johann Date: Thu, 11 Jan 2018 15:17:29 -0800 Subject: [PATCH] clang-format v5.0.0 vpx_util/vpx_atomic.h Allow*OnASingleLine appears to no longer apply to typedef structs. Change-Id: If10db1c30c74ee31dad1a0b1926964e850f15fd2 --- vpx_util/vpx_atomics.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vpx_util/vpx_atomics.h b/vpx_util/vpx_atomics.h index b8cf80dae..504691065 100644 --- a/vpx_util/vpx_atomics.h +++ b/vpx_util/vpx_atomics.h @@ -68,7 +68,9 @@ extern "C" { // on any platform (to discourage programmer errors by setting values directly). // This primitive MUST be initialized using vpx_atomic_init or VPX_ATOMIC_INIT // (NOT memset) and accessed through vpx_atomic_ functions. -typedef struct vpx_atomic_int { volatile int value; } vpx_atomic_int; +typedef struct vpx_atomic_int { + volatile int value; +} vpx_atomic_int; #define VPX_ATOMIC_INIT(num) \ { num }