[all-commits] [llvm/llvm-project] 4eb909: Cleanup header dependencies of llvm/Support/Compil...

serge-sans-paille via All-commits all-commits at lists.llvm.org
Tue Jan 25 10:28:07 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4eb909c884721a0be5078c87d35d550ad31c9fb7
      https://github.com/llvm/llvm-project/commit/4eb909c884721a0be5078c87d35d550ad31c9fb7
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2022-01-25 (Tue, 25 Jan 2022)

  Changed paths:
    M llvm/include/llvm/Support/Compiler.h

  Log Message:
  -----------
  Cleanup header dependencies of llvm/Support/Compiler.h

<new> and <cstdef> were introduced in aa60b3fd875c3 but the dependency
is now dead.

As a consequence you may need to include <new> where you use it while it
was auto-included as an implicit dependency before.

The impact on the codebase is small, as <new> is a very small header
(<100 SLOC) but it gets included everywhere, so that somehow counts (?)




More information about the All-commits mailing list