Use standard version of make_unique when available (#2292)

This commit is contained in:
Oxan van Leeuwen authored and GitHub committed 2021-09-14 14:27:35 +02:00
1 parent 4cc2817fcd
commit 716039e452
8 files changed
+35 -20

No files matched your search

+4 -1
View File
@@ -70,7 +70,6 @@ Checks: >-
-modernize-use-default-member-init,
-modernize-use-equals-default,
-modernize-use-trailing-return-type,
-modernize-make-unique,
-modernize-use-nodiscard,
-mpi-*,
-objc-*,
@@ -114,6 +113,10 @@ CheckOptions:
value: llvm
- key: modernize-use-nullptr.NullMacros
value: 'NULL'
- key: modernize-make-unique.MakeSmartPtrFunction
value: 'make_unique'
- key: modernize-make-unique.MakeSmartPtrFunctionHeader
value: 'esphome/core/helpers.h'
- key: readability-identifier-naming.LocalVariableCase
value: 'lower_case'
- key: readability-identifier-naming.ClassCase