[all-commits] [llvm/llvm-project] 983565: [ADT] Move DenseMapInfo for ArrayRef/StringRef int...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Jun 3 09:34:57 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 983565a6fe4a9f40c7caf82b65c650c20dbcc104
      https://github.com/llvm/llvm-project/commit/983565a6fe4a9f40c7caf82b65c650c20dbcc104
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-06-03 (Thu, 03 Jun 2021)

  Changed paths:
    M clang/include/clang/AST/ComparisonCategories.h
    M llvm/include/llvm/ADT/ArrayRef.h
    M llvm/include/llvm/ADT/DenseMapInfo.h
    M llvm/include/llvm/ADT/StringRef.h
    M llvm/include/llvm/IR/PassInstrumentation.h
    M llvm/include/llvm/Support/Threading.h
    M llvm/lib/CodeGen/AsmPrinter/WinException.h
    M llvm/lib/CodeGen/MBFIWrapper.cpp
    M llvm/lib/MC/StringTableBuilder.cpp
    M llvm/lib/Support/SmallPtrSet.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUGlobalISelUtils.h
    M llvm/tools/llvm-c-test/echo.cpp
    M mlir/include/mlir/IR/AffineExpr.h
    M mlir/include/mlir/IR/DialectInterface.h
    M mlir/include/mlir/Support/InterfaceSupport.h
    M mlir/include/mlir/Support/StorageUniquer.h

  Log Message:
  -----------
  [ADT] Move DenseMapInfo for ArrayRef/StringRef into respective headers (NFC)

This is a followup to D103422. The DenseMapInfo implementations for
ArrayRef and StringRef are moved into the ArrayRef.h and StringRef.h
headers, which means that these two headers no longer need to be
included by DenseMapInfo.h.

This required adding a few additional includes, as many files were
relying on various things pulled in by ArrayRef.h.

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




More information about the All-commits mailing list