[all-commits] [llvm/llvm-project] f85d03: [NFC][Clang] Adopt simplified `getTrailingObjects`...

Rahul Joshi via All-commits all-commits at lists.llvm.org
Mon May 19 08:19:49 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f85d03c21518fa87239fa4e2d23267d0d5af9cf6
      https://github.com/llvm/llvm-project/commit/f85d03c21518fa87239fa4e2d23267d0d5af9cf6
  Author: Rahul Joshi <rjoshi at nvidia.com>
  Date:   2025-05-19 (Mon, 19 May 2025)

  Changed paths:
    M clang/include/clang/AST/DeclOpenACC.h
    M clang/include/clang/AST/StmtOpenACC.h
    M clang/lib/AST/StmtOpenACC.cpp
    M clang/lib/Serialization/ASTReaderStmt.cpp

  Log Message:
  -----------
  [NFC][Clang] Adopt simplified `getTrailingObjects` in Decl/StmtOpenACC (#140087)

Adopt non-templated and array-ref returning forms of
`getTrailingObjects` in DeclOpenACC and StmtOpenACC. Also use
std::uninitialized_contruct_n to make the code a little concise.



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