[all-commits] [llvm/llvm-project] 04da3d: Forward declare special case lists

Reid Kleckner via All-commits all-commits at lists.llvm.org
Thu Feb 27 10:08:42 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 04da3dfecc199a7fdd262b06eeb399fc8ce0d1f6
      https://github.com/llvm/llvm-project/commit/04da3dfecc199a7fdd262b06eeb399fc8ce0d1f6
  Author: Reid Kleckner <rnk at google.com>
  Date:   2020-02-27 (Thu, 27 Feb 2020)

  Changed paths:
    M clang/include/clang/Basic/SanitizerBlacklist.h
    M clang/include/clang/Basic/SanitizerSpecialCaseList.h
    M clang/include/clang/Basic/XRayLists.h
    M clang/include/clang/Tooling/DependencyScanning/ModuleDepCollector.h
    M clang/lib/Basic/SanitizerBlacklist.cpp
    M clang/lib/Basic/XRayLists.cpp
    M clang/lib/Sema/SemaDecl.cpp

  Log Message:
  -----------
  Forward declare special case lists

This avoids pulling in unordered_map from TrigramIndex.h:

$ diff -u thedeps-before.txt thedeps-after.txt | \
        grep '^[-+] ' | sort | uniq -c | sort -nr
    976 -    ../llvm/include/llvm/Support/TrigramIndex.h
    976 -    ../llvm/include/llvm/Support/SpecialCaseList.h
    976 -    ../clang/include/clang/Basic/SanitizerSpecialCaseList.h
    502 -    ../../../PROGRA~2/MIB055~1/2019/PROFES~1/VC/Tools/MSVC/14.24.28314/include/unordered_map
    467 -    ../../../PROGRA~2/MIB055~1/2019/PROFES~1/VC/Tools/MSVC/14.24.28314/include/xhash
    467 -    ../../../PROGRA~2/MIB055~1/2019/PROFES~1/VC/Tools/MSVC/14.24.28314/include/xbit_ops.h
    212 -    ../llvm/include/llvm/ADT/StringSet.h




More information about the All-commits mailing list