[all-commits] [llvm/llvm-project] 8a3e4b: [clang][NFC] Annotate `Type` bit-fields with `clan...

Vlad Serebrennikov via All-commits all-commits at lists.llvm.org
Thu Nov 2 09:57:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8a3e4b5f32e6d333b6fa70aa6c505046ce18630f
      https://github.com/llvm/llvm-project/commit/8a3e4b5f32e6d333b6fa70aa6c505046ce18630f
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2023-11-02 (Thu, 02 Nov 2023)

  Changed paths:
    M clang/include/clang/AST/Type.h
    M llvm/include/llvm/Support/Compiler.h

  Log Message:
  -----------
  [clang][NFC] Annotate `Type` bit-fields with `clang::preferred_type` (#70349)

This patch adds `clang::preferred_type` annotations to Type-related bit-fields. At the moment only debug info takes advantage of this annotation. See more in https://github.com/llvm/llvm-project/pull/69104

This patch also propagates underlying type of several enums from bit-field declaration to enum declaration. I don't see how having them diverge helps.




More information about the All-commits mailing list