[PATCH] D100957: [Support] Don't include VirtualFileSystem.h in CommandLine.h

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 21 07:02:27 PDT 2021


thakis created this revision.
thakis added a reviewer: hans.
Herald added subscribers: dexonsmith, steven_wu, hiraditya.
thakis requested review of this revision.
Herald added a project: LLVM.

CommandLine.h is indirectly included in ~50% of TUs when building
clang, and VirtualFileSystem.h is large.

(Already remarked by jhenderson on D70769 <https://reviews.llvm.org/D70769>.)

No behavior change.


https://reviews.llvm.org/D100957

Files:
  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-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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100957.339222.patch
Type: text/x-patch
Size: 18619 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210421/99ee712c/attachment.bin>


More information about the llvm-commits mailing list