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

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

Issue 2639813002: --method-blocklist should also cover free functions. (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
« no previous file with comments | « tools/clang/rewrite_to_chrome_style/tests/methods-expected.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 299
300 namespace internal { 300 namespace internal {
301 301
302 class InternalClass { 302 class InternalClass {
303 public: 303 public:
304 static void method(); 304 static void method();
305 }; 305 };
306 306
307 } // namespace internal 307 } // namespace internal
308 308
309 // Tests for --idl-methods. See also 309 // Tests for --method-blocklist cmdline parameter.
310 // MethodsNamedAfterIdlMatcherState::SetupBlacklistForTesting method.
311 class IdlTestClass { 310 class IdlTestClass {
312 public: 311 public:
313 static int idlTestMethodNoParams(char x) { return 123; } 312 static int idlTestMethodNoParams(char x) { return 123; }
314 static int idlTestMethodOneParam(char x) { return 123; } 313 static int idlTestMethodOneParam(char x) { return 123; }
315 314
316 int idlTestMethodNoParams() { return 123; } 315 int idlTestMethodNoParams() { return 123; }
317 int idlTestMethodNoParams(int x) { return 123; } 316 int idlTestMethodNoParams(int x) { return 123; }
318 317
319 int idlTestMethodOneParam() { return 123; } 318 int idlTestMethodOneParam() { return 123; }
320 int idlTestMethodOneParam(int x) { return 123; } 319 int idlTestMethodOneParam(int x) { return 123; }
(...skipping 19 matching lines...) Expand all
340 class IdlTemplateClass { 339 class IdlTemplateClass {
341 public: 340 public:
342 int idlTestMethod(T x) { return 123; } 341 int idlTestMethod(T x) { return 123; }
343 }; 342 };
344 343
345 } // namespace blink 344 } // namespace blink
346 345
347 // https://crbug.com/640688 - need to rewrite method name below. 346 // https://crbug.com/640688 - need to rewrite method name below.
348 void blink::ClassDeclaredInsideBlink::methodDefinedOutsideBlink() {} 347 void blink::ClassDeclaredInsideBlink::methodDefinedOutsideBlink() {}
349 void blink::internal::InternalClass::method() {} 348 void blink::internal::InternalClass::method() {}
OLDNEW
« no previous file with comments | « tools/clang/rewrite_to_chrome_style/tests/methods-expected.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698