[PATCH] D55044: [clang-tidy] check for Abseil make_unique
Roman Lebedev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 14 00:17:06 PDT 2019
lebedev.ri added inline comments.
================
Comment at: clang-tidy/modernize/MakeSmartPtrCheck.cpp:55
+ IgnoreMacros(Options.getLocalOrGlobal("IgnoreMacros", true)),
+ UseLegacyFunction(Options.getLocalOrGlobal("UseLegacyFunction", false)) {}
----------------
I'm not sure it makes sense to look for global `UseLegacyFunction`?
It doesn't sound all that common.
================
Comment at: docs/clang-tidy/checks/modernize-make-unique.rst:52
+
+.. option:: UseLegacyFunction
+
----------------
Name is too cryptic i'd say.
Maybe just `IgnoreInitListExprs`
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55044/new/
https://reviews.llvm.org/D55044
More information about the cfe-commits
mailing list