[all-commits] [llvm/llvm-project] e85789: [ADT] Replace STLForwardCompat.h's C++17 equivalents

Joseph Loser via All-commits all-commits at lists.llvm.org
Fri Aug 12 05:57:55 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e8578968f684997840f680ed62bff5cad0accc13
  Author: Joe Loser <joeloser93 at gmail.com>
  Date:   2022-08-12 (Fri, 12 Aug 2022)

  Changed paths:
    M clang/include/clang/Basic/DirectoryEntry.h
    M clang/include/clang/Basic/FileEntry.h
    M llvm/include/llvm/ADT/Any.h
    M llvm/include/llvm/ADT/FunctionExtras.h
    M llvm/include/llvm/ADT/Optional.h
    M llvm/include/llvm/ADT/STLExtras.h
    M llvm/include/llvm/Support/HashBuilder.h
    M llvm/unittests/ADT/OptionalTest.cpp

  Log Message:
  [ADT] Replace STLForwardCompat.h's C++17 equivalents

STLForwardCompat.h defines several utilities and type traits to mimic that of
the ones in the C++17 standard library. Now that LLVM is built with the C++17
standards mode, remove use of these equivalents in favor of the ones from the
standard library.

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

More information about the All-commits mailing list