[all-commits] [llvm/llvm-project] 5d92d0: Correctly diagnose use of long long literals w/o a...
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Sat Sep 17 04:56:54 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5d92d0b0f86c2c4e0c6ebd7b1e2113337fec041d
https://github.com/llvm/llvm-project/commit/5d92d0b0f86c2c4e0c6ebd7b1e2113337fec041d
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2022-09-17 (Sat, 17 Sep 2022)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaExpr.cpp
M clang/test/C/drs/dr2xx.c
M clang/test/CXX/drs/dr4xx.cpp
Log Message:
-----------
Correctly diagnose use of long long literals w/o a suffix
We would diagnose use of `long long` as an extension in C89 and C++98
modes when the user spelled the type `long long` or used the `LL`
literal suffix, but failed to diagnose when the literal had no suffix
but required a `long long` to represent the value.
More information about the All-commits
mailing list