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

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

Issue 2604023002: ABANDONED CL: Rewrite also identifiers declared in generated files. (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 // Stuff in blink::protocol should not be renamed (see
16 // https://crbug.com/677223#c6).
17 namespace protocol {
18 void foo();
19 } // namespace protocol
20
15 } // namespace blink 21 } // namespace blink
16 22
17 namespace WTF { 23 namespace WTF {
18 24
19 // Stuff in WTF:: should be renamed. 25 // Stuff in WTF:: should be renamed.
20 void Foo(); 26 void Foo();
21 27
22 // Stuff in nested namespaces should be renamed. 28 // Stuff in nested namespaces should be renamed.
23 namespace nested { 29 namespace nested {
24 void Foo(); 30 void Foo();
(...skipping 16 matching lines...) Expand all
41 void G() { 47 void G() {
42 blink::Foo(); 48 blink::Foo();
43 blink::nested::Foo(); 49 blink::nested::Foo();
44 WTF::Foo(); 50 WTF::Foo();
45 WTF::nested::Foo(); 51 WTF::nested::Foo();
46 other::foo(); 52 other::foo();
47 foo(); 53 foo();
48 other::blink::foo(); 54 other::blink::foo();
49 other::WTF::foo(); 55 other::WTF::foo();
50 } 56 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698