Skip to content

Commit

Permalink
[NFC][Clang][TableGen] Use StringRef in FlattenedSpelling (llvm#113809)
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
jurahul authored and NoumanAmir657 committed Nov 4, 2024
1 parent b7abbf8 commit cca5070
Showing 1 changed file with 109 additions and 136 deletions.
Loading

0 comments on commit cca5070

Please sign in to comment.