[all-commits] [llvm/llvm-project] e44831: Add support for digit separators in C2x.
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Fri Mar 12 04:22:19 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e448310059053d69fbdd6c66dd95ad5d3cfc6243
https://github.com/llvm/llvm-project/commit/e448310059053d69fbdd6c66dd95ad5d3cfc6243
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2021-03-12 (Fri, 12 Mar 2021)
Changed paths:
M clang/include/clang/Basic/DiagnosticLexKinds.td
M clang/lib/Lex/Lexer.cpp
A clang/test/Lexer/c2x_digit_separators.c
A clang/test/Sema/pre-c2x-compat.c
Log Message:
-----------
Add support for digit separators in C2x.
WG14 adopted N2626 at the meetings this week. This commit adds support
for using ' as a digit separator in a numeric literal which is
compatible with the C++ feature.
More information about the All-commits
mailing list