[PATCH] D55510: [ExprConstant] Improve memchr/memcmp for type mismatch and multibyte element types
Hubert Tong via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 10 20:57:52 PST 2018
hubert.reinterpretcast updated this revision to Diff 177656.
hubert.reinterpretcast marked 3 inline comments as done.
hubert.reinterpretcast added a comment.
Address remaining ExprConstant.cpp review comments
Use BytesRemaining/BytesPerElement to improve readability;
tweak FIXME comment to refer to the _remaining_ bytes.
Use CharUnits-to-CharUnits comparisons where straightforward.
Tweak comment about internal representation mismatch.
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55510/new/
https://reviews.llvm.org/D55510
Files:
include/clang/Basic/DiagnosticASTKinds.td
lib/AST/ExprConstant.cpp
test/CodeGenCXX/builtins.cpp
test/SemaCXX/constexpr-string.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55510.177656.patch
Type: text/x-patch
Size: 19419 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181211/21015bca/attachment-0001.bin>
More information about the cfe-commits
mailing list