[all-commits] [llvm/llvm-project] bbb0db: [clang][AST] Add `RecordDecl::getNumFields()` (#17...

Timm Baeder via All-commits all-commits at lists.llvm.org
Sun Nov 30 23:34:15 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bbb0dbadfaf292766922f5914f1c8946e2ef8519
      https://github.com/llvm/llvm-project/commit/bbb0dbadfaf292766922f5914f1c8946e2ef8519
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-12-01 (Mon, 01 Dec 2025)

  Changed paths:
    M clang/include/clang/AST/Decl.h
    M clang/lib/AST/ComparisonCategories.cpp
    M clang/lib/AST/ExprConstant.cpp
    M clang/lib/CodeGen/CGHLSLRuntime.cpp
    M clang/lib/Sema/CodeCompleteConsumer.cpp

  Log Message:
  -----------
  [clang][AST] Add `RecordDecl::getNumFields()` (#170022)

Not sure why that didn't exist yet, but we have quite a few places using
the same `std::distance` pattern.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list