aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CommandFlags.cpp
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2021-04-21 10:00:30 -0400
committerNico Weber <thakis@chromium.org>2021-04-21 10:19:01 -0400
commitba7a92c01e86b5048a93abe7c26c25b90ea9040a (patch)
tree4628efebcf9adf2bc38da4cb55b1db33cb986cbf /llvm/lib/CodeGen/CommandFlags.cpp
parent2f69975683f5b6ea7df79f335f96b889a4bddecd (diff)
downloadllvm-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/lib/CodeGen/CommandFlags.cpp')
-rw-r--r--llvm/lib/CodeGen/CommandFlags.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/CommandFlags.cpp b/llvm/lib/CodeGen/CommandFlags.cpp
index ed0dc70..de56055 100644
--- a/llvm/lib/CodeGen/CommandFlags.cpp
+++ b/llvm/lib/CodeGen/CommandFlags.cpp
@@ -17,6 +17,7 @@
#include "llvm/MC/SubtargetFeature.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Host.h"
+#include "llvm/Support/MemoryBuffer.h"
using namespace llvm;