[PATCH] D98798: Produce warning for performing pointer arithmetic on a null pointer.
Jamie Schmeiser via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 20 07:13:05 PDT 2021
This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rG9cb00b9ecbe7: Reland Produce warning for performing pointer arithmetic on a null pointer. (authored by jamieschmeiser).
Changed prior to commit:
https://reviews.llvm.org/D98798?vs=346751&id=360116#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98798/new/
https://reviews.llvm.org/D98798
Files:
clang/docs/ReleaseNotes.rst
clang/include/clang/Basic/DiagnosticGroups.td
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/SemaExpr.cpp
clang/test/Sema/Inputs/pointer-subtraction.h
clang/test/Sema/pointer-subtraction.c
clang/test/Sema/pointer-subtraction.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98798.360116.patch
Type: text/x-patch
Size: 7326 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210720/5cf5aadc/attachment.bin>
More information about the cfe-commits
mailing list