[all-commits] [llvm/llvm-project] ba7a92: [Support] Don't include VirtualFileSystem.h in Com...

Nico Weber via All-commits all-commits at lists.llvm.org
Wed Apr 21 07:19:36 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ba7a92c01e86b5048a93abe7c26c25b90ea9040a
      https://github.com/llvm/llvm-project/commit/ba7a92c01e86b5048a93abe7c26c25b90ea9040a
  Author: Nico Weber <thakis at chromium.org>
  Date:   2021-04-21 (Wed, 21 Apr 2021)

  Changed paths:
    M clang/include/clang/Frontend/FrontendOptions.h
    M clang/lib/Tooling/ExpandResponseFilesCompilationDatabase.cpp
    M clang/tools/apinotes-test/APINotesTest.cpp
    M clang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp
    M llvm/include/llvm/Support/CommandLine.h
    M llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/lib/CodeGen/CommandFlags.cpp
    M llvm/lib/CodeGen/GlobalISel/CSEInfo.cpp
    M llvm/lib/LTO/LTO.cpp
    M llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
    M llvm/lib/Remarks/YAMLRemarkSerializer.cpp
    M llvm/lib/Support/CommandLine.cpp
    M llvm/lib/Support/WithColor.cpp
    M llvm/lib/Transforms/Utils/Debugify.cpp
    M llvm/tools/llvm-cov/TestingSupport.cpp
    M llvm/tools/llvm-cxxmap/llvm-cxxmap.cpp
    M llvm/tools/llvm-exegesis/llvm-exegesis.cpp
    M llvm/tools/llvm-jitlink/llvm-jitlink.cpp
    M llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp
    M llvm/tools/llvm-profgen/PerfReader.cpp
    M llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp
    M llvm/tools/split-file/split-file.cpp
    M llvm/unittests/Support/CommandLineTest.cpp
    M llvm/unittests/Transforms/Utils/ScalarEvolutionExpanderTest.cpp
    M llvm/unittests/tools/llvm-exegesis/X86/BenchmarkResultTest.cpp
    M llvm/utils/TableGen/GICombinerEmitter.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list