diff options
author | Sam McCall <sam.mccall@gmail.com> | 2021-07-23 14:26:45 +0200 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2021-07-23 15:33:04 +0200 |
commit | 253b8145dedbe8d10792f44b4af7f52dbecd527f (patch) | |
tree | 8a07856ed63f8b21d5ddf6e7f19f1073b98ae875 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | a0987e350ccce4fb9c3cbaf56732be1def5f810f (diff) | |
download | llvm-253b8145dedbe8d10792f44b4af7f52dbecd527f.zip llvm-253b8145dedbe8d10792f44b4af7f52dbecd527f.tar.gz llvm-253b8145dedbe8d10792f44b4af7f52dbecd527f.tar.bz2 |
[clangd] Avoid range-loop init-list lifetime subtleties.
The original code appears to be OK per the spec, but we've had 3 reports of
crashes with certain unofficial builds of clangd that look a lot like old
compilers (GCC 5.4?) getting lifetime rules wrong.
Fixes https://github.com/clangd/clangd/issues/800
Differential Revision: https://reviews.llvm.org/D106654
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions