diff options
| author | Kadir Cetinkaya <kadircet@google.com> | 2020-04-02 16:35:15 +0200 |
|---|---|---|
| committer | Kadir Cetinkaya <kadircet@google.com> | 2020-04-07 13:48:00 +0200 |
| commit | 4ac7b805b7c4aa7af0a82d6187e3bd6ac0cf38cd (patch) | |
| tree | 8b187126e58ae38065c892b2346ebb3ecbd8cb43 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 7fc599ceb015c6456e48b79453df9ac1b2965123 (diff) | |
[clangd] Get rid of ASTWorker::getCurrentFileInputs
Summary:
FileInputs are only written by ASTWorker thread, therefore it is safe
to read them without the lock inside that thread. It can still be read by other
threads through ASTWorker::getCurrentCompileCommand though.
This patch also gets rid of the smart pointer wrapping FileInputs as there is
never mutliple owners.
Reviewers: sammccall
Subscribers: ilya-biryukov, javed.absar, MaskRay, jkorous, arphaman, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D77309
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
