[xray] Ignore -Wc++20-extensions in xray_records.h [NFC]
authorJie Fu <jiefu@tencent.com>
Fri, 12 May 2023 03:10:08 +0000 (11:10 +0800)
committerJie Fu <jiefu@tencent.com>
Fri, 12 May 2023 03:10:08 +0000 (11:10 +0800)
commit231c1d4134513e5a97cfdc874e8bda488ad59699
treec44c15da916b8f8868c971039accdf909b097504
parent9b158debe0e40bab76c4a22574f89a9881de2ca1
[xray] Ignore -Wc++20-extensions in xray_records.h [NFC]

/data/llvm-project/compiler-rt/lib/xray/../../include/xray/xray_records.h:48:24: error: default member initializer for bit-field is a C++20 extension [
-Werror,-Wc++20-extensions]
  bool ConstantTSC : 1 = false;
                       ^
/data/llvm-project/compiler-rt/lib/xray/../../include/xray/xray_records.h:49:23: error: default member initializer for bit-field is a C++20 extension [
-Werror,-Wc++20-extensions]
  bool NonstopTSC : 1 = false;
                      ^
2 errors generated.
compiler-rt/include/xray/xray_records.h