[PATCH] D121497: Lex: add support for `{,u}i128` Microsoft extension
Saleem Abdulrasool via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 11 15:03:05 PST 2022
compnerd created this revision.
compnerd added a reviewer: aaron.ballman.
compnerd added a project: clang.
Herald added a project: All.
compnerd requested review of this revision.
Herald added a subscriber: cfe-commits.
The Windows SDK has occurrences of the `i128` and `ui128` suffix (at
least in the 10.0.22000.0 SDK, see `intsafe.h`). This adds support for
the extension to properly lex the literal.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D121497
Files:
clang/include/clang/Lex/LiteralSupport.h
clang/lib/AST/StmtPrinter.cpp
clang/lib/Lex/LiteralSupport.cpp
clang/lib/Sema/SemaExpr.cpp
clang/test/Lexer/ms-extensions.c
clang/unittests/AST/StmtPrinterTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121497.414760.patch
Type: text/x-patch
Size: 4208 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220311/010f112f/attachment.bin>
More information about the cfe-commits
mailing list