]> granicus.if.org Git - clang/commitdiff
Prune Pass.h include from DataLayout.h. NFCI
authorBjorn Pettersson <bjorn.a.pettersson@ericsson.com>
Mon, 21 Oct 2019 17:51:54 +0000 (17:51 +0000)
committerBjorn Pettersson <bjorn.a.pettersson@ericsson.com>
Mon, 21 Oct 2019 17:51:54 +0000 (17:51 +0000)
Summary:
Reduce include dependencies by no longer including Pass.h from
DataLayout.h. That include seemed irrelevant to DataLayout, as
well as being irrelevant to several users of DataLayout.

Reviewers: rnk

Reviewed By: rnk

Subscribers: mehdi_amini, hiraditya, cfe-commits, llvm-commits

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D69261

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@375436 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Tooling/AllTUsExecution.cpp

index 267f945f567b7ef51e37f1b65f5cfb3d3d705b17..d85075f5960796572efa5c6080c2e6f76d1122a0 100644 (file)
@@ -8,6 +8,7 @@
 
 #include "clang/Tooling/AllTUsExecution.h"
 #include "clang/Tooling/ToolExecutorPluginRegistry.h"
+#include "llvm/Support/Threading.h"
 #include "llvm/Support/ThreadPool.h"
 #include "llvm/Support/VirtualFileSystem.h"