[PATCH] D125272: [clang] Add -fcheck-new support
Pedro Falcato via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 12 11:36:57 PDT 2023
heatd updated this revision to Diff 530617.
heatd added a comment.
Addressed MaskRay's feedback:
Added a testcase that showcases the conditional calling of a constructor (due to new not being tagged nonnull)
Kept the testcase with the simple _Znwm call
Deleted the ATTR tags at the end
Removed opt mem2reg
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125272/new/
https://reviews.llvm.org/D125272
Files:
clang/include/clang/Basic/LangOptions.def
clang/include/clang/Basic/LangOptions.h
clang/include/clang/Driver/Options.td
clang/lib/AST/ExprCXX.cpp
clang/lib/Driver/ToolChains/Clang.cpp
clang/lib/Sema/SemaDecl.cpp
clang/lib/Sema/SemaExprCXX.cpp
clang/test/CodeGenCXX/fcheck-new.cpp
clang/test/Driver/clang_f_opts.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125272.530617.patch
Type: text/x-patch
Size: 6531 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230612/c6206ae2/attachment-0001.bin>
More information about the cfe-commits
mailing list