diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2020-11-18 18:57:50 -0800 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2020-11-19 17:55:04 -0800 |
commit | 1fe24a640c2837fbbfb03add122cb3b045914416 (patch) | |
tree | 8ac412a9e6073186fda67dffa7a3f8cf93230fc3 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 513d165b80eec6187ba88dcbe8bfe38baaa2fb01 (diff) | |
download | llvm-1fe24a640c2837fbbfb03add122cb3b045914416.zip llvm-1fe24a640c2837fbbfb03add122cb3b045914416.tar.gz llvm-1fe24a640c2837fbbfb03add122cb3b045914416.tar.bz2 |
ADT: Split out isSafeToReferenceAfterResize helper to use early returns, NFC
The assertion logic in SmallVector::assertSafeToReferenceAfterResize is
hard to follow; split out SmallVector::isSafeToReferenceAfterResize and
add early returns and comments. No functionality change here.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions