[all-commits] [llvm/llvm-project] afdac5: [clang] Allow printing 64 bit ints in diagnostics

aeubanks via All-commits all-commits at lists.llvm.org
Wed Oct 6 09:54:06 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: afdac5fbcb6a375245d435e4427086a376de59ff
      https://github.com/llvm/llvm-project/commit/afdac5fbcb6a375245d435e4427086a376de59ff
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-10-06 (Wed, 06 Oct 2021)

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

  Log Message:
  -----------
  [clang] Allow printing 64 bit ints in diagnostics

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.

Reviewed By: rsmith

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




More information about the All-commits mailing list