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

Side by Side Diff: tools/clang/rewrite_to_chrome_style/tests/methods-original.cc

Issue 2271203004: Tweak |in_blink_namespace|, to look at ancestors *and also* at qualifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blink-style-same-type-and-method-name
Patch Set: Handle parameters and variables underneath namespace-less function decl. Created 4 years, 3 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "gen/thing.h" 5 #include "gen/thing.h"
6 6
7 namespace v8 { 7 namespace v8 {
8 8
9 class InterfaceOutsideOfBlink { 9 class InterfaceOutsideOfBlink {
10 public: 10 public:
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 }; 186 };
187 187
188 } // namespace WTF 188 } // namespace WTF
189 189
190 void F2() { 190 void F2() {
191 blink::StructInBlink b; 191 blink::StructInBlink b;
192 b.function(); 192 b.function();
193 WTF::StructInWTF w; 193 WTF::StructInWTF w;
194 w.function(); 194 w.function();
195 } 195 }
196
197 namespace blink {
198
199 class ClassDeclaredInsideBlink {
200 public:
201 static void methodDefinedOutsideBlink();
202 };
203
204 } // namespace blink
205
206 // https://crbug.com/640688 - need to rewrite method name below.
207 void blink::ClassDeclaredInsideBlink::methodDefinedOutsideBlink() {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698