[all-commits] [llvm/llvm-project] 7a8c79: [clang] Allocate 2 bits to store the constexpr spe...

Nathan Ridge via All-commits all-commits at lists.llvm.org
Wed Nov 17 13:57:03 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7a8c7946fc3aa75beac6fb5e7cd7b15f1a69d411
      https://github.com/llvm/llvm-project/commit/7a8c7946fc3aa75beac6fb5e7cd7b15f1a69d411
  Author: Nathan Ridge <zeratul976 at hotmail.com>
  Date:   2021-11-17 (Wed, 17 Nov 2021)

  Changed paths:
    M clang/lib/Serialization/ASTWriterDecl.cpp
    M clang/test/AST/ast-dump-constant-expr.cpp

  Log Message:
  -----------
  [clang] Allocate 2 bits to store the constexpr specifier kind when serializing

Now that consteval and constinit are possible values, 1 bit
is no longer enough.

Fixes https://github.com/clangd/clangd/issues/887

Differential Revision: https://reviews.llvm.org/D111971




More information about the All-commits mailing list