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 Oct 28, 2024
1 parent cafd3e1 commit e0a02fd
Showing 1 changed file with 109 additions and 136 deletions.
Loading

0 comments on commit e0a02fd

Please sign in to comment.