From ecff16de4823aa8597399c5710cf727cdba161a1 Mon Sep 17 00:00:00 2001 From: Sergei Semin Date: Mon, 23 Aug 2021 22:03:24 +0300 Subject: [PATCH] ignore diagnostic -Wreserved-identifier in file base/common/unit.h --- base/common/unit.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/base/common/unit.h b/base/common/unit.h index d5c8d5c9027..5bf5e00c049 100644 --- a/base/common/unit.h +++ b/base/common/unit.h @@ -1,6 +1,10 @@ #pragma once #include +#if defined(__clang__) && __clang_major__ >= 13 +#pragma clang diagnostic ignored "-Wreserved-identifier" +#endif + constexpr size_t KiB = 1024; constexpr size_t MiB = 1024 * KiB; constexpr size_t GiB = 1024 * MiB;