[all-commits] [llvm/llvm-project] f8e2e7: [CGData] Return ArrayRef<std::string> in getNames ...
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Tue May 20 00:04:11 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f8e2e709f079f5aafc9d8cd67ee9401910d43fc1
https://github.com/llvm/llvm-project/commit/f8e2e709f079f5aafc9d8cd67ee9401910d43fc1
Author: Kazu Hirata <kazu at google.com>
Date: 2025-05-20 (Tue, 20 May 2025)
Changed paths:
M llvm/include/llvm/CGData/StableFunctionMap.h
M llvm/lib/CGData/StableFunctionMapRecord.cpp
Log Message:
-----------
[CGData] Return ArrayRef<std::string> in getNames (NFC) (#140675)
All uses of getNames is read access to the list of names, so we can
just return ArrayRef<std::string>. There is no need to make a copy as
we prepare a return value.
---------
Co-authored-by: Matt Arsenault <arsenm2 at gmail.com>
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