[all-commits] [llvm/llvm-project] c00c90: [clang] Use separator for large numeric values in ...
Atousa Duprat via All-commits
all-commits at lists.llvm.org
Tue Mar 5 04:38:55 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c00c901f1cb714ebd053de5c6af564dc81754d3e
https://github.com/llvm/llvm-project/commit/c00c901f1cb714ebd053de5c6af564dc81754d3e
Author: Atousa Duprat <atousa.p at gmail.com>
Date: 2024-03-05 (Tue, 05 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/ExprConstant.cpp
M clang/lib/AST/Interp/Interp.h
M clang/test/AST/Interp/c.c
M clang/test/C/drs/dr0xx.c
M clang/test/C/drs/dr2xx.c
M clang/test/Sema/integer-overflow.c
M clang/test/Sema/switch-1.c
M clang/test/SemaCXX/enum.cpp
M clang/test/SemaCXX/integer-overflow.cpp
M clang/test/SemaObjC/integer-overflow.m
M clang/test/SemaObjC/objc-literal-nsnumber.m
M llvm/include/llvm/ADT/APInt.h
M llvm/include/llvm/ADT/StringExtras.h
M llvm/lib/Support/APInt.cpp
M llvm/unittests/ADT/APIntTest.cpp
Log Message:
-----------
[clang] Use separator for large numeric values in overflow diagnostic (#80939)
Add functionality to APInt::toString() that allows it to insert
separators between groups of digits, using the C++ literal
separator ' between groups.
Fixes issue #58228
Reviewers: @AaronBallman, @cjdb, @tbaederr
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list