[all-commits] [llvm/llvm-project] fd7e30: [ADT] Move DenseMapInfo for APInt into APInt.h (PR...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Jun 1 09:32:12 PDT 2021


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

  Changed paths:
    M llvm/include/llvm/ADT/APInt.h
    M llvm/include/llvm/ADT/APSInt.h
    M llvm/include/llvm/ADT/DenseMapInfo.h
    M llvm/lib/ObjectYAML/ELFYAML.cpp
    M llvm/lib/Support/APInt.cpp

  Log Message:
  -----------
  [ADT] Move DenseMapInfo for APInt into APInt.h (PR50527)

As suggested in https://bugs.llvm.org/show_bug.cgi?id=50527, this
moves the DenseMapInfo for APInt and APSInt into the respective
headers, removing the need to include APInt.h and APSInt.h from
DenseMapInfo.h.

We could probably do the same from StringRef and ArrayRef as well.

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




More information about the All-commits mailing list