[all-commits] [llvm/llvm-project] 231c1d: [xray] Ignore -Wc++20-extensions in xray_records.h...

Jie Fu via All-commits all-commits at lists.llvm.org
Thu May 11 20:11:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 231c1d4134513e5a97cfdc874e8bda488ad59699
      https://github.com/llvm/llvm-project/commit/231c1d4134513e5a97cfdc874e8bda488ad59699
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2023-05-12 (Fri, 12 May 2023)

  Changed paths:
    M compiler-rt/include/xray/xray_records.h

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list