DumpAST.cpp
ExpectedTypes.cpp
FeatureModule.cpp
- Features.cpp
+ Feature.cpp
FindSymbols.cpp
FindTarget.cpp
FileDistance.cpp
#include "Diagnostics.h"
#include "DraftStore.h"
#include "DumpAST.h"
-#include "Features.h"
+#include "Feature.h"
#include "GlobalCompilationDatabase.h"
#include "LSPBinder.h"
#include "Protocol.h"
#include "ConfigFragment.h"
#include "ConfigProvider.h"
#include "Diagnostics.h"
-#include "Features.h"
+#include "Feature.h"
#include "TidyProvider.h"
#include "support/Logger.h"
#include "support/Path.h"
-//===--- Features.cpp - Compile-time configuration ------------------------===//
+//===--- Feature.cpp - Compile-time configuration ------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
//
//===----------------------------------------------------------------------===//
-#include "Features.h"
+#include "Feature.h"
#include "clang/Basic/Version.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Host.h"
-//===--- Features.h - Compile-time configuration ------------------*-C++-*-===//
+//===--- Feature.h - Compile-time configuration ------------------*-C++-*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
+// This file is not named "Features.h" because of a conflict with libstdc++:
+// https://github.com/clangd/clangd/issues/835
+//===----------------------------------------------------------------------===//
-#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_FEATURES_H
-#define LLVM_CLANG_TOOLS_EXTRA_CLANGD_FEATURES_H
+#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_FEATURE_H
+#define LLVM_CLANG_TOOLS_EXTRA_CLANGD_FEATURE_H
#include <string>
// Export constants like CLANGD_BUILD_XPC
#include "Compiler.h"
#include "Config.h"
#include "Diagnostics.h"
+#include "Feature.h"
#include "FeatureModule.h"
-#include "Features.h"
#include "Headers.h"
#include "HeuristicResolver.h"
#include "IncludeFixer.h"
#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_TRANSPORT_H_
#define LLVM_CLANG_TOOLS_EXTRA_CLANGD_TRANSPORT_H_
-#include "Features.h"
+#include "Feature.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/JSON.h"
#include "llvm/Support/raw_ostream.h"
#include <grpc++/grpc++.h>
#include "Client.h"
-#include "Features.h"
+#include "Feature.h"
#include "Service.grpc.pb.h"
#include "index/Index.h"
#include "marshalling/Marshalling.h"
//
//===----------------------------------------------------------------------===//
-#include "Features.h"
+#include "Feature.h"
#include "Index.pb.h"
#include "MonitoringService.grpc.pb.h"
#include "MonitoringService.pb.h"
#include "CodeComplete.h"
#include "Config.h"
#include "ConfigProvider.h"
-#include "Features.h"
+#include "Feature.h"
#include "PathMapping.h"
#include "Protocol.h"
#include "TidyProvider.h"
#include "Config.h"
#include "ConfigFragment.h"
#include "ConfigTesting.h"
-#include "Features.h"
+#include "Feature.h"
#include "TestFS.h"
#include "clang/Basic/DiagnosticSema.h"
#include "llvm/ADT/None.h"
#include "Annotations.h"
#include "Config.h"
#include "Diagnostics.h"
+#include "Feature.h"
#include "FeatureModule.h"
-#include "Features.h"
#include "ParsedAST.h"
#include "Protocol.h"
#include "SourceCode.h"