[all-commits] [llvm/llvm-project] 9189d8: [NFC] Change the return type of `getTraversalScope...
Erich Keane via All-commits
all-commits at lists.llvm.org
Thu Mar 6 07:04:59 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9189d84abbfc643db0053200c1c2e16b1e78e8f9
https://github.com/llvm/llvm-project/commit/9189d84abbfc643db0053200c1c2e16b1e78e8f9
Author: erichkeane <ekeane at nvidia.com>
Date: 2025-03-06 (Thu, 06 Mar 2025)
Changed paths:
M clang/include/clang/AST/ASTContext.h
Log Message:
-----------
[NFC] Change the return type of `getTraversalScope` to `ArrayRef`
This is only used in 2 places, both just to search through the list, so
returning a copy was wasteful. This patch changes it to return an
`ArrayRef` so that a copy isn't made.
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