зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1617528 - Enable modernize-use-using at review phase r=andi
Differential Revision: https://phabricator.services.mozilla.com/D63819 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
f2ed03b529
Коммит
205bea23c3
|
@ -173,6 +173,8 @@ clang_checkers:
|
|||
reliability: low
|
||||
# Too noisy because of the way how we implement NS_IMETHOD. See Bug 1420366.
|
||||
publish: !!bool no
|
||||
- name: modernize-use-using
|
||||
reliability: high
|
||||
- name: mozilla-*
|
||||
reliability: high
|
||||
- name: performance-faster-string-find
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
template <typename T>
|
||||
class Test {
|
||||
typedef typename T::iterator Iter;
|
||||
};
|
||||
typedef int Type;
|
||||
|
|
@ -0,0 +1 @@
|
|||
[["warning", "use 'using' instead of 'typedef'", "modernize-use-using"], ["warning", "use 'using' instead of 'typedef'", "modernize-use-using"], {"reliability": "high"}]
|
Загрузка…
Ссылка в новой задаче