[all-commits] [llvm/llvm-project] 26fbbf: [NFC][Clang] Simplify getTrailingObjects for OpenA...

Rahul Joshi via All-commits all-commits at lists.llvm.org
Wed May 14 09:40:55 PDT 2025


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

  Changed paths:
    M clang/include/clang/AST/OpenACCClause.h
    M clang/include/clang/AST/OpenMPClause.h
    M clang/lib/AST/OpenACCClause.cpp

  Log Message:
  -----------
  [NFC][Clang] Simplify getTrailingObjects for OpenACC/OpenMP Clause (#139838)

Simplify usage of `getTrailingObjects` for OpenACC/OpenMP Clause by
using either the non-templated form for single trailing types or using
the single argument form that returns an ArrayRef/MutableArrayRef.



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