[all-commits] [llvm/llvm-project] 47359f: Drop a StringMap.h include, NFC

Reid Kleckner via All-commits all-commits at lists.llvm.org
Wed Mar 11 15:45:38 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 47359fbd2e8810c37bc79d42ed752b3fbb3034b3
      https://github.com/llvm/llvm-project/commit/47359fbd2e8810c37bc79d42ed752b3fbb3034b3
  Author: Reid Kleckner <rnk at google.com>
  Date:   2020-03-11 (Wed, 11 Mar 2020)

  Changed paths:
    M llvm/include/llvm/Support/Host.h
    M llvm/lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.h
    M llvm/lib/Object/ArchiveWriter.cpp
    M llvm/lib/Support/FoldingSet.cpp
    M llvm/lib/Support/Host.cpp
    M llvm/tools/dsymutil/BinaryHolder.h

  Log Message:
  -----------
  Drop a StringMap.h include, NFC

$ diff -u <(sort thedeps-before.txt) <(sort thedeps-after.txt) \
    | grep '^[-+] ' | sort | uniq -c | sort -nr
    231 -    llvm/include/llvm/ADT/StringMap.h
    171 -    llvm/include/llvm/Support/AllocatorBase.h
    142 -    llvm/include/llvm/Support/PointerLikeTypeTraits.h


  Commit: 213aea4c5836934771eb97eb97e4c964053a8596
      https://github.com/llvm/llvm-project/commit/213aea4c5836934771eb97eb97e4c964053a8596
  Author: Reid Kleckner <rnk at google.com>
  Date:   2020-03-11 (Wed, 11 Mar 2020)

  Changed paths:
    M clang/lib/Driver/Distro.cpp
    M clang/lib/Driver/Driver.cpp
    M clang/lib/Driver/ToolChains/Cuda.cpp
    M clang/lib/Tooling/ExpandResponseFilesCompilationDatabase.cpp
    M clang/tools/driver/cc1gen_reproducer_main.cpp
    M clang/unittests/AST/StructuralEquivalenceTest.cpp
    M clang/unittests/CodeGen/TBAAMetadataTest.cpp
    M clang/unittests/Driver/DistroTest.cpp
    M clang/unittests/Tooling/RecursiveASTVisitorTests/LambdaExpr.cpp
    M lld/ELF/DriverUtils.cpp
    M lld/MinGW/Driver.cpp
    M lld/wasm/Driver.cpp
    M lldb/source/Plugins/SymbolFile/NativePDB/DWARFLocationExpression.h
    M llvm/include/llvm/Support/Endian.h
    M llvm/tools/llvm-ar/llvm-ar.cpp
    M llvm/tools/llvm-exegesis/lib/LlvmState.cpp
    M llvm/tools/llvm-objcopy/llvm-objcopy.cpp
    M llvm/unittests/Support/CommandLineTest.cpp

  Log Message:
  -----------
  Remove unused Endian.h includes, NFC

Mainly avoids including Host.h everywhere:

$ diff -u <(sort thedeps-before.txt) <(sort thedeps-after.txt) \
    | grep '^[-+] ' | sort | uniq -c | sort -nr
   3141 - /usr/local/google/home/rnk/llvm-project/llvm/include/llvm/Support/Host.h


Compare: https://github.com/llvm/llvm-project/compare/ee87b22a1293...213aea4c5836


More information about the All-commits mailing list