[PATCH] Detect mismatching 'new' and 'delete' uses
Ismail Pazarbasi
ismail.pazarbasi at gmail.com
Mon Sep 29 14:45:33 PDT 2014
* Added PCH support
* If not all constructors are visible, queue 'delete' for later analysis
* Try to suggest fix-it for removal of '[]'
http://reviews.llvm.org/D4661
Files:
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/ExternalSemaSource.h
include/clang/Sema/MultiplexExternalSemaSource.h
include/clang/Sema/Sema.h
include/clang/Serialization/ASTBitCodes.h
include/clang/Serialization/ASTReader.h
lib/Sema/MultiplexExternalSemaSource.cpp
lib/Sema/Sema.cpp
lib/Sema/SemaExprCXX.cpp
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTWriter.cpp
test/Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp
test/Analysis/MismatchedDeallocator-checker-test.mm
test/Analysis/MismatchedDeallocator-path-notes.cpp
test/CodeGenCXX/new.cpp
test/SemaCXX/delete-mismatch.h
test/SemaCXX/delete.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4661.14188.patch
Type: text/x-patch
Size: 46984 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140929/15a1d2a4/attachment.bin>
More information about the cfe-commits
mailing list