[all-commits] [llvm/llvm-project] dcec22: Lex: add support for `i128` and `ui128` suffixes (...
Saleem Abdulrasool via All-commits
all-commits at lists.llvm.org
Thu Mar 13 16:36:29 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dcec224240d6e23107577e27b42f398026d284db
https://github.com/llvm/llvm-project/commit/dcec224240d6e23107577e27b42f398026d284db
Author: Saleem Abdulrasool <compnerd at compnerd.org>
Date: 2025-03-13 (Thu, 13 Mar 2025)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Lex/LiteralSupport.h
M clang/lib/Lex/LiteralSupport.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/test/Lexer/ms-extensions.c
Log Message:
-----------
Lex: add support for `i128` and `ui128` suffixes (#130993)
Microsoft's compiler supports an extension for 128-bit literals. This is
referenced in `intsafe.h` which is included transitievly. When building
with modules, the literal parsing causes a failure due to the missing
support for the extension. To alleviate this issue, support parsing this
literal, especially now that there is the BitInt extension.
Take the opportunity to tighten up the code slightly by ensuring that we
do not access out-of-bounds characters when lexing the token.
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