Details
Details
- Reviewers
alexfh aaron.ballman - Commits
- rG040c0f96ccac: [clang-tidy] Add "MakeSmartPtrFunction" option to modernize-make-shared/unique…
rCTE307130: [clang-tidy] Add "MakeSmartPtrFunction" option to modernize-make-shared/unique…
rL307130: [clang-tidy] Add "MakeSmartPtrFunction" option to modernize-make-shared/unique…
Diff Detail
Diff Detail
- Build Status
Buildable 7867 Build 7867: arc lint + arc unit
Event Timeline
Comment Actions
It'll be good idea to run modernize-make-unique on LLVM/Clang/etc for llvm::make_unique.
Comment Actions
+1. See https://reviews.llvm.org/D34334, https://reviews.llvm.org/D34333. And found a few bugs in the check, will work on fixes on them.
Comment Actions
I have a fix patch under review: D34286, and the other will come afterwards.
I think it is fine to check in this patch before these two bugs are fixed.
test/clang-tidy/modernize-make-shared-header.cpp | ||
---|---|---|
2 | Good idea! |
s/makeSmartPtr/MakeSmartPtr/ here and below.