[all-commits] [llvm/llvm-project] c6f20d: [ADT] Add STLForwardCompat.h and llvm::disjunction

Scott Linder via All-commits all-commits at lists.llvm.org
Fri Apr 30 10:30:20 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c6f20d70a8c93ab3d50c9777c477fe040460a664
      https://github.com/llvm/llvm-project/commit/c6f20d70a8c93ab3d50c9777c477fe040460a664
  Author: Scott Linder <Scott.Linder at amd.com>
  Date:   2021-04-30 (Fri, 30 Apr 2021)

  Changed paths:
    M llvm/include/llvm/ADT/STLExtras.h
    A llvm/include/llvm/ADT/STLForwardCompat.h
    M llvm/unittests/ADT/CMakeLists.txt
    A llvm/unittests/ADT/STLForwardCompatTest.cpp

  Log Message:
  -----------
  [ADT] Add STLForwardCompat.h and llvm::disjunction

Move some types in STLExtras.h which are named and behave identically to
STL types from future standards into a dedicated header. This keeps them
organized (they are not "extras" in the same sense as most types in
STLExtras.h are) and fixes circular dependencies in future patches.

Reviewed By: dblaikie

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




More information about the All-commits mailing list