DescriptionAdd a presubmit check that warns about declaring Singleton<T> in header files
(except for base/memory/singleton.h)
This check is copied from presubmit_canned_checks.py in depot_tools/ with an
added exception for base/memory/singleton.h.
The corresponding code will be removed from presubmit_canned_checks.py afterwards.
BUG=349861
R=phajdan.jr@chromium.org,
Committed: https://crrev.com/9b73d0393037452d13358f4e2766cb62adbdede8
Cr-Commit-Position: refs/heads/master@{#316546}
Patch Set 1 #Patch Set 2 : Added presubmit test #
Messages
Total messages: 13 (3 generated)
|