[PATCH] D70624: [Diagnostics] Warn for comparison with string literals expanded from macro (PR44064)
Dávid Bolvanský via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 24 09:33:04 PST 2019
xbolva00 updated this revision to Diff 230797.
xbolva00 added a comment.
Added new tests.
Improved recommendation how to fix warning.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70624/new/
https://reviews.llvm.org/D70624
Files:
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/SemaExpr.cpp
clang/test/Sema/exprs.c
clang/test/Sema/warn-stringcompare.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70624.230797.patch
Type: text/x-patch
Size: 6394 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191124/737c6940/attachment.bin>
More information about the cfe-commits
mailing list