[PATCH] [clang-tidy] Ignore expressions with incompatible deleters.

Samuel Benzaquen sbenza at google.com
Wed Mar 18 11:47:18 PDT 2015


Hi klimek,

Do not warn on .reset(.release()) expressions if the deleters are not
compatible.
Using plain assignment will probably not work.

http://reviews.llvm.org/D8422

Files:
  clang-tidy/misc/UniqueptrResetReleaseCheck.cpp
  test/clang-tidy/misc-uniqueptr-reset-release.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8422.22199.patch
Type: text/x-patch
Size: 4249 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150318/5c2bc764/attachment.bin>


More information about the cfe-commits mailing list