1 //===--- Config.cpp - User configuration of clangd behavior ---------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 #include "support/Context.h"
15 Key
<Config
> Config::Key
;
17 const Config
&Config::current() {
18 if (const Config
*C
= Context::current().get(Key
))
20 static Config Default
;