diff options
author | Sam McCall <sam.mccall@gmail.com> | 2017-12-04 10:08:45 +0000 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2017-12-04 10:08:45 +0000 |
commit | ecbeab0ea1278d6d3e700a62808b941adc240095 (patch) | |
tree | 70443d88e80cd80d4dbcb79359b8594775efad76 /lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp | |
parent | e86327f290b412b7e80edec7a1a79b7ff7724dcd (diff) | |
download | bcm5719-llvm-ecbeab0ea1278d6d3e700a62808b941adc240095.tar.gz bcm5719-llvm-ecbeab0ea1278d6d3e700a62808b941adc240095.zip |
[clangd] GlobalCompilationDatabase interface changes
Summary:
- GlobalCompilationDatabase now returns a single command (that's all we use)
- fallback flags are now part of the GlobalCompilationDatabase.
There's a default implementation that they can optionally customize.
- this allows us to avoid invoking the fallback logic on two separate codepaths
- race on extra flags fixed by locking the mutex
- made GCD const-correct (DBGCD does have mutating methods)
Reviewers: hokein
Subscribers: klimek, cfe-commits, ilya-biryukov
Differential Revision: https://reviews.llvm.org/D40733
llvm-svn: 319647
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp')
0 files changed, 0 insertions, 0 deletions