[PATCH] D77836: [Attribute] Fix noderef attribute false-negatives
Leonard Chan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 9 15:48:41 PDT 2020
leonardchan created this revision.
leonardchan added reviewers: rsmith, aaron.ballman.
leonardchan added a project: clang.
`noderef` was failing to trigger warnings in some cases related to c++ style casting. This patch addresses them.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D77836
Files:
clang/include/clang/Sema/Initialization.h
clang/lib/Sema/SemaCast.cpp
clang/lib/Sema/SemaInit.cpp
clang/test/Frontend/noderef.c
clang/test/Frontend/noderef.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77836.256428.patch
Type: text/x-patch
Size: 6671 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200409/7a93173c/attachment.bin>
More information about the cfe-commits
mailing list