summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorKadir Cetinkaya <kadircet@google.com>2020-04-02 16:35:15 +0200
committerKadir Cetinkaya <kadircet@google.com>2020-04-07 13:48:00 +0200
commit4ac7b805b7c4aa7af0a82d6187e3bd6ac0cf38cd (patch)
tree8b187126e58ae38065c892b2346ebb3ecbd8cb43 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent7fc599ceb015c6456e48b79453df9ac1b2965123 (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