[all-commits] [llvm/llvm-project] e0a02f: [NFC][Clang][TableGen] Use StringRef in FlattenedS...
Rahul Joshi via All-commits
all-commits at lists.llvm.org
Mon Oct 28 11:43:51 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e0a02fdb459f3126fbc40cf376f4a3871652ae49
https://github.com/llvm/llvm-project/commit/e0a02fdb459f3126fbc40cf376f4a3871652ae49
Author: Rahul Joshi <rjoshi at nvidia.com>
Date: 2024-10-28 (Mon, 28 Oct 2024)
Changed paths:
M clang/utils/TableGen/ClangAttrEmitter.cpp
Log Message:
-----------
[NFC][Clang][TableGen] Use StringRef in FlattenedSpelling (#113809)
- Change FlattenedSpelling to use StringRef instead of std::String.
- Use range for loops and enumerate().
- Use ArrayRef<> instead of std::vector reference as function arguments.
- Use {} for all if/else branch bodies if one of them uses it.
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