[all-commits] [llvm/llvm-project] 0fea0d: [clang][NFC] Annotate DeclBase.h with `preferred_t...

Vlad Serebrennikov via All-commits all-commits at lists.llvm.org
Fri Nov 3 22:44:15 PDT 2023


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

  Changed paths:
    M clang/include/clang/AST/DeclBase.h

  Log Message:
  -----------
  [clang][NFC] Annotate DeclBase.h with `preferred_type`

This patch adds `preferred_type` annotations to `Decl` and `DeclContext` bit-fields. Those annotations help debuggers reason about the type of the value stored in bit-field.




More information about the All-commits mailing list