[PATCH] D128059: [Clang] Add a warning on invalid UTF-8 in comments.
Corentin Jabot via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 22 15:17:10 PDT 2022
cor3ntin updated this revision to Diff 439177.
cor3ntin added a comment.
- Add a comment referencing the (to be) C++ wording and unicode discussion on replacemet characters
- Do not try to skip utf8 checks when the warning is not enabled as checking whether the warning is enabled is more expensive
- Fix a bug causing vectorization to not be aligned
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128059/new/
https://reviews.llvm.org/D128059
Files:
clang/docs/ReleaseNotes.rst
clang/include/clang/Basic/DiagnosticLexKinds.td
clang/lib/Lex/Lexer.cpp
clang/test/Lexer/comment-invalid-utf8.c
llvm/include/llvm/Support/ConvertUTF.h
llvm/lib/Support/ConvertUTF.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128059.439177.patch
Type: text/x-patch
Size: 8330 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220622/ecf82ba1/attachment-0001.bin>
More information about the llvm-commits
mailing list