[C++2b] Support size_t literals
authorAnton Bikineev <bikineev@chromium.org>
Sat, 27 Mar 2021 16:27:21 +0000 (16:27 +0000)
committerAnton Bikineev <bikineev@chromium.org>
Wed, 31 Mar 2021 13:36:23 +0000 (13:36 +0000)
commitdc7ebd2cb0cf4a83bb6cd1bfc8853b0a30054777
tree46066da01af3b134a36d11cab557a96f31cc3a6c
parent9f4022ffeb20eff91c7461828592dc812ee5a28e
[C++2b] Support size_t literals

This adds support for C++2b's z/uz suffixes for size_t literals (P0330).
clang/include/clang/Basic/DiagnosticCommonKinds.td
clang/include/clang/Lex/LiteralSupport.h
clang/lib/Frontend/InitPreprocessor.cpp
clang/lib/Lex/LiteralSupport.cpp
clang/lib/Lex/PPExpressions.cpp
clang/lib/Sema/SemaExpr.cpp
clang/test/Lexer/cxx-features.cpp
clang/test/Lexer/size_t-literal.cpp [new file with mode: 0644]
clang/test/SemaCXX/cxx1y-user-defined-literals.cpp
clang/test/SemaCXX/size_t-literal.cpp [new file with mode: 0644]
clang/www/cxx_status.html