diff options
| author | Jim Ingham <jingham@apple.com> | 2021-07-27 18:55:17 -0700 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2021-07-27 18:58:56 -0700 |
| commit | 3c4547692368239fca21ec294a5a406ea5a44889 (patch) | |
| tree | a9ce16a07310500a1c26a908b62288d7929d0ec5 /llvm/lib/IR/Module.cpp | |
| parent | f2026f5d6e4fc593ba1d5f0fb5a3393688b8e6dc (diff) | |
| download | llvm-3c4547692368239fca21ec294a5a406ea5a44889.zip llvm-3c4547692368239fca21ec294a5a406ea5a44889.tar.gz llvm-3c4547692368239fca21ec294a5a406ea5a44889.tar.bz2 | |
Fix a thinko in the parsing of substitutions in CommandObjectRegexCommand.
The old code incorrectly calculated the start position for the search
for the third (and subsequent) instance of a particular substitution
pattern (e.g. %1).
I also added a few test cases for this parsing covering this failure.
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions
