[PATCH] D108469: Improve handling of static assert messages.

Corentin Jabot via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 26 06:52:27 PDT 2022


cor3ntin updated this revision to Diff 440063.
cor3ntin marked 4 inline comments as done.
cor3ntin added a comment.
Herald added a subscriber: steakhal.
Herald added a project: All.

- Rebase
- Address Aaron's comments.
- Fix tests
- Keep dumping wide/utf16/utf32 strings escaped until we can ensure these things cannot appear in static_assert and other compile time constructs


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D108469/new/

https://reviews.llvm.org/D108469

Files:
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/Basic/Diagnostic.cpp
  clang/lib/Sema/SemaDeclCXX.cpp
  clang/lib/StaticAnalyzer/Checkers/PaddingChecker.cpp
  clang/test/C/drs/dr0xx.c
  clang/test/CXX/dcl.dcl/p4-0x.cpp
  clang/test/CXX/expr/expr.prim/expr.prim.id/p3.cpp
  clang/test/Lexer/null-character-in-literal.c
  clang/test/Misc/diag-special-chars.c
  clang/test/Misc/wrong-encoding.c
  clang/test/PCH/cxx-static_assert.cpp
  clang/test/Sema/static-assert.c
  clang/test/SemaCXX/int-ptr-cast-SFINAE.cpp
  clang/test/SemaCXX/static-assert.cpp
  llvm/include/llvm/Support/Unicode.h
  llvm/lib/Support/Unicode.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108469.440063.patch
Type: text/x-patch
Size: 53347 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220626/aeb8f177/attachment-0001.bin>


More information about the cfe-commits mailing list