diff options
author | Haojian Wu <hokein@google.com> | 2018-12-14 12:39:08 +0000 |
---|---|---|
committer | Haojian Wu <hokein@google.com> | 2018-12-14 12:39:08 +0000 |
commit | d5a78e6e594bcf8dc7502fb5cb7396c0936eb224 (patch) | |
tree | 44774c2b9d6604ed73509fb3cf45dca922feff69 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 813af0d2831d5ece986a06d8e407156f941fafae (diff) | |
download | llvm-d5a78e6e594bcf8dc7502fb5cb7396c0936eb224.zip llvm-d5a78e6e594bcf8dc7502fb5cb7396c0936eb224.tar.gz llvm-d5a78e6e594bcf8dc7502fb5cb7396c0936eb224.tar.bz2 |
[clangd] Fix an assertion failure in background index.
Summary:
When indexing a file which contains an uncompilable error, we will
trigger an assertion failure -- the IndexFileIn data is not set, but we
access them in the backgound index.
Reviewers: kadircet
Subscribers: ilya-biryukov, ioeric, MaskRay, jkorous, arphaman, cfe-commits
Differential Revision: https://reviews.llvm.org/D55650
llvm-svn: 349144
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions