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

Side by Side Diff: tools/gn/tutorial/hello.cc

Issue 964203002: tools/gn: Fix errors found by Facebook's flint tool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix chromium-style plugin errors Created 5 years, 9 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/gn/test_with_scope.h ('k') | tools/gn/unique_vector.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "tools/gn/tutorial/hello.h"
6
5 #include <stdio.h> 7 #include <stdio.h>
6 8
7 #include "tools/gn/tutorial/hello.h"
8
9 void Hello(const char* who) { 9 void Hello(const char* who) {
10 printf("Hello, %s.\n", who); 10 printf("Hello, %s.\n", who);
11 } 11 }
12 12
13 #if defined(TWO_PEOPLE) 13 #if defined(TWO_PEOPLE)
14 void Hello(const char* one, const char* two) { 14 void Hello(const char* one, const char* two) {
15 printf("Hello, %s and %s.\n", one, two); 15 printf("Hello, %s and %s.\n", one, two);
16 } 16 }
17 #endif 17 #endif
OLDNEW
« no previous file with comments | « tools/gn/test_with_scope.h ('k') | tools/gn/unique_vector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698