[PATCH] D111184: [clang] Allow printing 64 bit ints in diagnostics

Arthur Eubanks via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 5 14:04:00 PDT 2021


aeubanks created this revision.
aeubanks requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Currently we're limited to 32 bit ints in diagnostics.
With support for 4GB alignments coming soon, we need to report 4GB as the max alignment allowed.
I've tested that this does indeed properly print 2^32.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D111184

Files:
  clang/include/clang/AST/Attr.h
  clang/include/clang/AST/Decl.h
  clang/include/clang/AST/NestedNameSpecifier.h
  clang/include/clang/AST/Type.h
  clang/include/clang/Basic/Diagnostic.h
  clang/include/clang/Sema/ParsedAttr.h
  clang/lib/Basic/Diagnostic.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111184.377353.patch
Type: text/x-patch
Size: 7262 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211005/ca145563/attachment.bin>


More information about the cfe-commits mailing list