summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ProfileData/SampleProfReader.cpp
diff options
context:
space:
mode:
authorIlya Biryukov <ibiryukov@google.com>2018-01-17 12:30:24 +0000
committerIlya Biryukov <ibiryukov@google.com>2018-01-17 12:30:24 +0000
commit261c72e8f90636dfa46af0e6e43588dd2f5efe13 (patch)
treeb572ef4ba9e3e4e24c64ed982323c8fc27ca20d0 /llvm/lib/ProfileData/SampleProfReader.cpp
parent8f976ba0bf81a890e4690aa923df2f0f0346ae49 (diff)
downloadbcm5719-llvm-261c72e8f90636dfa46af0e6e43588dd2f5efe13.tar.gz
bcm5719-llvm-261c72e8f90636dfa46af0e6e43588dd2f5efe13.zip
[clangd] Don't crash on LSP calls for non-added files
Summary: We will return errors for non-added files for now. Another alternative for clangd would be to read non-added files from disk and provide useful features anyway. There are still some cases that fail with assertion (e.g., code complete). We should address those too, but they require more subtle changes to the code and therefore out of scope of this patch. Reviewers: sammccall, ioeric, hokein Reviewed By: sammccall Subscribers: klimek, cfe-commits Differential Revision: https://reviews.llvm.org/D42164 llvm-svn: 322637
Diffstat (limited to 'llvm/lib/ProfileData/SampleProfReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud