[PATCH] D52989: [clang-tidy] Fix handling of parens around new expressions in make_<smartptr> checks.
Alexander Kornienko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 8 09:36:25 PDT 2018
alexfh created this revision.
alexfh added a reviewer: hokein.
Herald added a subscriber: xazax.hun.
Extra parentheses around a new expression result in incorrect code
after applying fixes.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D52989
Files:
clang-tidy/modernize/MakeSmartPtrCheck.cpp
clang-tidy/modernize/MakeSmartPtrCheck.h
test/clang-tidy/modernize-make-shared.cpp
test/clang-tidy/modernize-make-unique.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52989.168671.patch
Type: text/x-patch
Size: 7870 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181008/290c9cfa/attachment.bin>
More information about the cfe-commits
mailing list