[all-commits] [llvm/llvm-project] b11e1b: [llvm-readtapi] Avoid repeated hash lookups (NFC) ...
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Fri Feb 21 11:09:39 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b11e1baf22a4a5d061a112c490f54f5e767f79e4
https://github.com/llvm/llvm-project/commit/b11e1baf22a4a5d061a112c490f54f5e767f79e4
Author: Kazu Hirata <kazu at google.com>
Date: 2025-02-21 (Fri, 21 Feb 2025)
Changed paths:
M llvm/tools/llvm-readtapi/llvm-readtapi.cpp
Log Message:
-----------
[llvm-readtapi] Avoid repeated hash lookups (NFC) (#128131)
Dylibs is a StringMap, which takes StringRef as the key type, so
NormalizedPath.str() is good enough. We don't need to create a null
terminated string. Neither do we need to recompute the string length
as part of StringRef construction.
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