diff options
| author | Rahul Joshi <jurahul@google.com> | 2020-07-20 08:29:23 -0700 |
|---|---|---|
| committer | Rahul Joshi <jurahul@google.com> | 2020-07-22 15:32:32 -0700 |
| commit | ed88cd77d4a0667c78bc8a5bc6c13d6a32576808 (patch) | |
| tree | ab644875ca0a72b250e1a904adb5724c6b26724a /llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp | |
| parent | e6ea5b388b0d463dc9b5710d3f945387a0e4f206 (diff) | |
[NFC] Simplify `splitLiteralAndReplacement` function
- Eliminate `From` which is 0 most of the times.
- Replace 'find_first_of('{') != 0' with 'front() != '{'
- Simplify the loop body given the it executes only when front() == '}'
Differential Revision: https://reviews.llvm.org/D84178
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp')
0 files changed, 0 insertions, 0 deletions
