[all-commits] [llvm/llvm-project] 53fba6: [ARCMT][NFC] Reduce #include dependencies

Nicolás Alvarez via All-commits all-commits at lists.llvm.org
Wed Feb 12 10:10:59 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 53fba65d220499ebc380755aca2da41a5eb33f02
      https://github.com/llvm/llvm-project/commit/53fba65d220499ebc380755aca2da41a5eb33f02
  Author: Nicolás Alvarez <nicolas.alvarez at gmail.com>
  Date:   2020-02-12 (Wed, 12 Feb 2020)

  Changed paths:
    M clang/lib/ARCMigrate/ARCMT.cpp
    M clang/lib/ARCMigrate/Internals.h
    M clang/lib/ARCMigrate/Transforms.cpp

  Log Message:
  -----------
  [ARCMT][NFC] Reduce #include dependencies

Replace some #includes in ARCMigrate source files with more specific includes
and forward declarations. This reduces the number of files that need to be
rebuilt when a header changes (and saves like 1 second of build time). For
example, several files no longer need to be rebuilt when the list of static
analyzer checkers(!) changes.

Differential Revision: https://reviews.llvm.org/D74385




More information about the All-commits mailing list