diff options
author | Nico Weber <thakis@chromium.org> | 2021-04-21 10:00:30 -0400 |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2021-04-21 10:19:01 -0400 |
commit | ba7a92c01e86b5048a93abe7c26c25b90ea9040a (patch) | |
tree | 4628efebcf9adf2bc38da4cb55b1db33cb986cbf /llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp | |
parent | 2f69975683f5b6ea7df79f335f96b889a4bddecd (diff) | |
download | llvm-ba7a92c01e86b5048a93abe7c26c25b90ea9040a.zip llvm-ba7a92c01e86b5048a93abe7c26c25b90ea9040a.tar.gz llvm-ba7a92c01e86b5048a93abe7c26c25b90ea9040a.tar.bz2 |
[Support] Don't include VirtualFileSystem.h in CommandLine.h
CommandLine.h is indirectly included in ~50% of TUs when building
clang, and VirtualFileSystem.h is large.
(Already remarked by jhenderson on D70769.)
No behavior change.
Differential Revision: https://reviews.llvm.org/D100957
Diffstat (limited to 'llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp')
-rw-r--r-- | llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp b/llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp index 25f4296..9b01ff5 100644 --- a/llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp +++ b/llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp @@ -21,6 +21,7 @@ #include "llvm/Support/CommandLine.h" #include "llvm/Support/InitLLVM.h" #include "llvm/Support/LineIterator.h" +#include "llvm/Support/VirtualFileSystem.h" #include "llvm/Support/WithColor.h" #include "llvm/TextAPI/Architecture.h" #include <map> |