[all-commits] [llvm/llvm-project] 9b7e57: [NFC] [Serialization] Add static assert for Num*De...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Thu Feb 2 22:43:42 PST 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b7e574701554fd496dc0fafe567b60767783b4b
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2023-02-03 (Fri, 03 Feb 2023)

  Changed paths:
    M clang/include/clang/AST/DeclBase.h
    M clang/lib/Serialization/ASTWriterDecl.cpp

  Log Message:
  [NFC] [Serialization] Add static assert for Num*Declbits

This re-commits part of c79635cce845. It is reverted since it contains
platform-inconsistent constant. Now the patch only contains constant
defined in DeclBase.h so it should be platform-independent. And this
should be still helpful.

Reviewed By: erichkeane

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

More information about the All-commits mailing list