summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/Targets.cpp
diff options
context:
space:
mode:
authorIsmail Pazarbasi <ismail.pazarbasi@gmail.com>2015-05-14 16:14:57 +0000
committerIsmail Pazarbasi <ismail.pazarbasi@gmail.com>2015-05-14 16:14:57 +0000
commit538ef53c139d9915327960217e922b2be7e8b3fd (patch)
tree3d6a10da310f704215fff7d5b0b3cbec701f3545 /clang/lib/Basic/Targets.cpp
parent9d08232e28f6bbdfeb080d2d9f138a6dc55d7e93 (diff)
downloadbcm5719-llvm-538ef53c139d9915327960217e922b2be7e8b3fd.tar.gz
bcm5719-llvm-538ef53c139d9915327960217e922b2be7e8b3fd.zip
Detect uses of mismatching forms of 'new' and 'delete'
Emit warning when operand to `delete` is allocated with `new[]` or operand to `delete[]` is allocated with `new`. Reviewers: rtrieu, jordan_rose, rsmith Subscribers: majnemer, cfe-commits Differential Revision: http://reviews.llvm.org/D4661 llvm-svn: 237368
Diffstat (limited to 'clang/lib/Basic/Targets.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud