[PATCH] D146771: [support] Provide overload to PrintNumber that use C++ types

Paul Kirth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 7 12:20:06 PDT 2023


paulkirth updated this revision to Diff 511767.
paulkirth marked 4 inline comments as done.
paulkirth added a comment.

Rebase and address comments.

- Add test for C++ types in JSONTest.cpp
- Restore original behavior in converting all integers representable as int64_t
- Simplify template expression.
- git clang-format


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146771/new/

https://reviews.llvm.org/D146771

Files:
  llvm/include/llvm/Support/JSON.h
  llvm/include/llvm/Support/ScopedPrinter.h
  llvm/tools/llvm-readobj/ELFDumper.cpp
  llvm/unittests/Support/JSONTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146771.511767.patch
Type: text/x-patch
Size: 8259 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230407/a7ffb68b/attachment.bin>


More information about the llvm-commits mailing list