[all-commits] [llvm/llvm-project] 59f8af: [NFC][Clang] Adopt simplified `getTrailingObjects`...
Rahul Joshi via All-commits
all-commits at lists.llvm.org
Mon May 19 08:02:45 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 59f8af35b6bb15c0794873786cb34c7867be357b
https://github.com/llvm/llvm-project/commit/59f8af35b6bb15c0794873786cb34c7867be357b
Author: Rahul Joshi <rjoshi at nvidia.com>
Date: 2025-05-19 (Mon, 19 May 2025)
Changed paths:
M clang/include/clang/AST/DeclFriend.h
M clang/include/clang/AST/DeclGroup.h
M clang/include/clang/AST/DeclObjC.h
M clang/lib/AST/DeclGroup.cpp
Log Message:
-----------
[NFC][Clang] Adopt simplified `getTrailingObjects` in DeclFriend (#140081)
- Adopt non-templated `getTrailingObjects` in DeclFriend, DeclGroup, and
DeclObjC
- Use indexing into ArrayRef returned by `getTrailingObjects` and
eliminate explicit OOB asserts.
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