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

aeubanks via All-commits all-commits at lists.llvm.org
Tue Oct 5 22:09:55 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: edfff2f8b0435bc4af94bd3b41bf57244d84d993
      https://github.com/llvm/llvm-project/commit/edfff2f8b0435bc4af94bd3b41bf57244d84d993
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-10-05 (Tue, 05 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