- 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() == '}'
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D84178
[NFC] Simplify `splitLiteralAndReplacement` function ClosedPublic Authored by jurahul on Jul 20 2020, 8:29 AM.
Details Summary
Diff Detail
Event TimelineClosed by commit rGed88cd77d4a0: [NFC] Simplify `splitLiteralAndReplacement` function (authored by jurahul). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 279959 llvm/lib/Support/FormatVariadic.cpp
|