aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorNathan James <n.james93@hotmail.co.uk>2020-11-25 18:35:34 +0000
committerNathan James <n.james93@hotmail.co.uk>2020-11-25 18:35:35 +0000
commit73fdd998701cce3aa6c4d8d2a73ab97351a0313b (patch)
tree58f0d3314be3524747b000a427d894755be89fc2 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent9c86c5e8add23a29fb19f7c0ac366a2063a5073a (diff)
downloadllvm-73fdd998701cce3aa6c4d8d2a73ab97351a0313b.zip
llvm-73fdd998701cce3aa6c4d8d2a73ab97351a0313b.tar.gz
llvm-73fdd998701cce3aa6c4d8d2a73ab97351a0313b.tar.bz2
[clangd] Implement clang-tidy options from config
Added some new ClangTidyOptionsProvider like classes designed for clangd work flow. These providers are designed to source the options on the worker thread but in a thread safe manner. This is done through making the options getter take a pointer to the filesystem used by the worker thread which natuarally is from a ThreadsafeFS. Internal caching in the providers is also guarded. The providers don't inherit from `ClangTidyOptionsProvider` instead they share a base class which is able to create a provider for the `ClangTidyContext` using a specific FileSystem. This approach means one provider can be used for multiple contexts even though `ClangTidyContext` owns its provider. Depends on D90531 Reviewed By: sammccall Differential Revision: https://reviews.llvm.org/D91029
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions