[PATCH] D72231: [Sema] Adds the pointer-to-int-cast diagnostic
Mark de Wever via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 4 11:53:44 PST 2020
Mordante updated this revision to Diff 242393.
Mordante added a comment.
- Enabled the warning by default
- Added an Microsoft extension, the unit tests already expected this behaviour
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72231/new/
https://reviews.llvm.org/D72231
Files:
clang/docs/ReleaseNotes.rst
clang/include/clang/Basic/DiagnosticGroups.td
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/SemaCast.cpp
clang/test/Analysis/bstring.c
clang/test/Analysis/casts.c
clang/test/Analysis/misc-ps.c
clang/test/Analysis/misc-ps.m
clang/test/Analysis/ptr-arith.c
clang/test/Analysis/svalbuilder-logic.c
clang/test/Analysis/symbol-reaper.c
clang/test/CodeGen/const-init.c
clang/test/Sema/MicrosoftExtensions.c
clang/test/Sema/block-return.c
clang/test/Sema/cast.c
clang/test/Sema/const-eval.c
clang/test/Sema/init.c
clang/test/Sema/offsetof.c
clang/test/Sema/static-init.c
clang/test/Sema/struct-decl.c
clang/test/SemaObjC/arc.m
clang/test/SemaObjC/gcc-cast-ext.m
clang/test/SemaObjC/protocol-archane.m
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72231.242393.patch
Type: text/x-patch
Size: 18681 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200204/26accbd4/attachment-0001.bin>
More information about the cfe-commits
mailing list