aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2020-11-19 17:12:27 -0800
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2021-01-13 20:48:08 -0800
commit260a856c2abcef49c7cb3bdcd999701db3e2af38 (patch)
tree691ae23214743865ca45e2e70c778e43735fe269 /clang/lib/Frontend/CompilerInvocation.cpp
parent752fafda3dbf1f4885c64408a13ddb67c91ccb13 (diff)
downloadllvm-260a856c2abcef49c7cb3bdcd999701db3e2af38.zip
llvm-260a856c2abcef49c7cb3bdcd999701db3e2af38.tar.gz
llvm-260a856c2abcef49c7cb3bdcd999701db3e2af38.tar.bz2
ADT: Fix reference invalidation in SmallVector::resize
For small enough, trivially copyable `T`, take the parameter by-value in `SmallVector::resize`. Otherwise, when growing, update the arugment appropriately. Differential Revision: https://reviews.llvm.org/D93781
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions