Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(321)

Side by Side Diff: tools/clang/rewrite_to_chrome_style/tests/namespaces-expected.cc

Issue 2625903006: Blacklist renaming inside blink::protocol namespace. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 namespace blink { 5 namespace blink {
6 6
7 // Stuff in blink:: should be renamed. 7 // Stuff in blink:: should be renamed.
8 void Foo(); 8 void Foo();
9 9
10 // Stuff in nested namespaces should be renamed. 10 // Stuff in nested namespaces should be renamed.
11 namespace nested { 11 namespace nested {
12 void Foo(); 12 void Foo();
13 } // namespace nested 13 } // namespace nested
14 14
15 // blink::protocol namespace is blacklisted.
16 namespace protocol {
17 void foo();
18 } // namespace protocol
19
15 } // namespace blink 20 } // namespace blink
16 21
17 namespace WTF { 22 namespace WTF {
18 23
19 // Stuff in WTF:: should be renamed. 24 // Stuff in WTF:: should be renamed.
20 void Foo(); 25 void Foo();
21 26
22 // Stuff in nested namespaces should be renamed. 27 // Stuff in nested namespaces should be renamed.
23 namespace nested { 28 namespace nested {
24 void Foo(); 29 void Foo();
(...skipping 16 matching lines...) Expand all
41 void G() { 46 void G() {
42 blink::Foo(); 47 blink::Foo();
43 blink::nested::Foo(); 48 blink::nested::Foo();
44 WTF::Foo(); 49 WTF::Foo();
45 WTF::nested::Foo(); 50 WTF::nested::Foo();
46 other::foo(); 51 other::foo();
47 foo(); 52 foo();
48 other::blink::foo(); 53 other::blink::foo();
49 other::WTF::foo(); 54 other::WTF::foo();
50 } 55 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698