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

Side by Side Diff: tools/clang/rewrite_to_chrome_style/tests/methods-expected.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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 }; 182 };
183 183
184 } // namespace WTF 184 } // namespace WTF
185 185
186 void F2() { 186 void F2() {
187 blink::StructInBlink b; 187 blink::StructInBlink b;
188 b.Function(); 188 b.Function();
189 WTF::StructInWTF w; 189 WTF::StructInWTF w;
190 w.Function(); 190 w.Function();
191 } 191 }
192
193 namespace blink {
194
195 class ClassDeclaredInsideBlink {
196 public:
197 static void MethodDefinedOutsideBlink();
198 };
199
200 } // namespace blink
201
202 // https://crbug.com/640688 - need to rewrite method name below.
203 void blink::ClassDeclaredInsideBlink::MethodDefinedOutsideBlink() {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698