[all-commits] [llvm/llvm-project] 8366dc: [clang] Don't warn on zero literals with -std=c2y ...
Timothy Herchen via All-commits
all-commits at lists.llvm.org
Mon Jul 21 09:15:30 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8366dc207a2e6b50cb8afe2d98fca68bd78bd0fa
https://github.com/llvm/llvm-project/commit/8366dc207a2e6b50cb8afe2d98fca68bd78bd0fa
Author: Timothy Herchen <timothy.herchen at gmail.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M clang/lib/Lex/LiteralSupport.cpp
M clang/test/C/C2y/n3353.c
Log Message:
-----------
[clang] Don't warn on zero literals with -std=c2y (#149688)
Fixes #149669; the old check compared with the end of the literal, but
we can just check that after parsing digits, we're pointing to one
character past the token start.
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