[Support] Don't include VirtualFileSystem.h in CommandLine.h
authorNico Weber <thakis@chromium.org>
Wed, 21 Apr 2021 14:00:30 +0000 (10:00 -0400)
committerNico Weber <thakis@chromium.org>
Wed, 21 Apr 2021 14:19:01 +0000 (10:19 -0400)
commitba7a92c01e86b5048a93abe7c26c25b90ea9040a
tree4628efebcf9adf2bc38da4cb55b1db33cb986cbf
parent2f69975683f5b6ea7df79f335f96b889a4bddecd
[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
27 files changed:
clang/include/clang/Frontend/FrontendOptions.h
clang/lib/Tooling/ExpandResponseFilesCompilationDatabase.cpp
clang/tools/apinotes-test/APINotesTest.cpp
clang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp
llvm/include/llvm/Support/CommandLine.h
llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/lib/CodeGen/CommandFlags.cpp
llvm/lib/CodeGen/GlobalISel/CSEInfo.cpp
llvm/lib/LTO/LTO.cpp
llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
llvm/lib/Remarks/YAMLRemarkSerializer.cpp
llvm/lib/Support/CommandLine.cpp
llvm/lib/Support/WithColor.cpp
llvm/lib/Transforms/Utils/Debugify.cpp
llvm/tools/llvm-cov/TestingSupport.cpp
llvm/tools/llvm-cxxmap/llvm-cxxmap.cpp
llvm/tools/llvm-exegesis/llvm-exegesis.cpp
llvm/tools/llvm-jitlink/llvm-jitlink.cpp
llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp
llvm/tools/llvm-profgen/PerfReader.cpp
llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp
llvm/tools/split-file/split-file.cpp
llvm/unittests/Support/CommandLineTest.cpp
llvm/unittests/Transforms/Utils/ScalarEvolutionExpanderTest.cpp
llvm/unittests/tools/llvm-exegesis/X86/BenchmarkResultTest.cpp
llvm/utils/TableGen/GICombinerEmitter.cpp