[all-commits] [llvm/llvm-project] 15d156: [Clang] Improve EmitClangAttrSpellingListIndex (#1...
Chinmay Deshpande via All-commits
all-commits at lists.llvm.org
Thu Nov 7 13:02:19 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 15d1560ea4047a2b4b14c826767089f538ddda70
https://github.com/llvm/llvm-project/commit/15d1560ea4047a2b4b14c826767089f538ddda70
Author: Chinmay Deshpande <chdeshpa at amd.com>
Date: 2024-11-07 (Thu, 07 Nov 2024)
Changed paths:
M clang/include/clang/Basic/AttributeCommonInfo.h
M clang/lib/Basic/Attributes.cpp
M clang/utils/TableGen/ClangAttrEmitter.cpp
Log Message:
-----------
[Clang] Improve EmitClangAttrSpellingListIndex (#114899)
`EmitClangAttrSpellingListIndex()` performs a lot of unnecessary string
comparisons which is wasteful in time and stack space. This commit
attempts to refactor this method to be more performant.
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