[clang-tools-extra] r370865 - [clangd] Remove obsolete includes. NFC

Sam McCall via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 4 03:01:05 PDT 2019


Author: sammccall
Date: Wed Sep  4 03:01:05 2019
New Revision: 370865

URL: http://llvm.org/viewvc/llvm-project?rev=370865&view=rev
Log:
[clangd] Remove obsolete includes. NFC

Modified:
    clang-tools-extra/trunk/clangd/Threading.h
    clang-tools-extra/trunk/clangd/Trace.cpp
    clang-tools-extra/trunk/clangd/Trace.h

Modified: clang-tools-extra/trunk/clangd/Threading.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/Threading.h?rev=370865&r1=370864&r2=370865&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/Threading.h (original)
+++ clang-tools-extra/trunk/clangd/Threading.h Wed Sep  4 03:01:05 2019
@@ -1,4 +1,4 @@
-//===--- ThreadPool.h --------------------------------------------*- C++-*-===//
+//===--- Threading.h - Abstractions for multithreading -----------*- C++-*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.
@@ -10,7 +10,7 @@
 #define LLVM_CLANG_TOOLS_EXTRA_CLANGD_THREADING_H
 
 #include "Context.h"
-#include "Function.h"
+#include "llvm/ADT/FunctionExtras.h"
 #include "llvm/ADT/Twine.h"
 #include <cassert>
 #include <condition_variable>

Modified: clang-tools-extra/trunk/clangd/Trace.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/Trace.cpp?rev=370865&r1=370864&r2=370865&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/Trace.cpp (original)
+++ clang-tools-extra/trunk/clangd/Trace.cpp Wed Sep  4 03:01:05 2019
@@ -8,7 +8,6 @@
 
 #include "Trace.h"
 #include "Context.h"
-#include "Function.h"
 #include "llvm/ADT/DenseSet.h"
 #include "llvm/ADT/ScopeExit.h"
 #include "llvm/Support/Chrono.h"

Modified: clang-tools-extra/trunk/clangd/Trace.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/Trace.h?rev=370865&r1=370864&r2=370865&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/Trace.h (original)
+++ clang-tools-extra/trunk/clangd/Trace.h Wed Sep  4 03:01:05 2019
@@ -18,7 +18,6 @@
 #define LLVM_CLANG_TOOLS_EXTRA_CLANGD_TRACE_H_
 
 #include "Context.h"
-#include "Function.h"
 #include "llvm/ADT/Twine.h"
 #include "llvm/Support/JSON.h"
 #include "llvm/Support/raw_ostream.h"




More information about the cfe-commits mailing list