[PATCH] D103422: [ADT] Move DenseMapInfo for APInt into APInt.h (PR50527)
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 31 11:31:50 PDT 2021
nikic created this revision.
nikic added a reviewer: lattner.
Herald added subscribers: dexonsmith, hiraditya.
nikic requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D103422
Files:
llvm/include/llvm/ADT/APInt.h
llvm/include/llvm/ADT/APSInt.h
llvm/include/llvm/ADT/DenseMapInfo.h
llvm/lib/ObjectYAML/ELFYAML.cpp
llvm/lib/Support/APInt.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103422.348842.patch
Type: text/x-patch
Size: 4517 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210531/fbc9be88/attachment.bin>
More information about the llvm-commits
mailing list