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

Side by Side Diff: tools/gn/target.h

Issue 631653002: Replacing the OVERRIDE with override in tools folder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Corrected patch-set-1 Created 6 years, 2 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/setup.h ('k') | tools/gn/toolchain.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #ifndef TOOLS_GN_TARGET_H_ 5 #ifndef TOOLS_GN_TARGET_H_
6 #define TOOLS_GN_TARGET_H_ 6 #define TOOLS_GN_TARGET_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 typedef std::vector<SourceFile> FileList; 51 typedef std::vector<SourceFile> FileList;
52 typedef std::vector<std::string> StringVector; 52 typedef std::vector<std::string> StringVector;
53 53
54 Target(const Settings* settings, const Label& label); 54 Target(const Settings* settings, const Label& label);
55 virtual ~Target(); 55 virtual ~Target();
56 56
57 // Returns a string naming the output type. 57 // Returns a string naming the output type.
58 static const char* GetStringForOutputType(OutputType type); 58 static const char* GetStringForOutputType(OutputType type);
59 59
60 // Item overrides. 60 // Item overrides.
61 virtual Target* AsTarget() OVERRIDE; 61 virtual Target* AsTarget() override;
62 virtual const Target* AsTarget() const OVERRIDE; 62 virtual const Target* AsTarget() const override;
63 virtual bool OnResolved(Err* err) OVERRIDE; 63 virtual bool OnResolved(Err* err) override;
64 64
65 OutputType output_type() const { return output_type_; } 65 OutputType output_type() const { return output_type_; }
66 void set_output_type(OutputType t) { output_type_ = t; } 66 void set_output_type(OutputType t) { output_type_ = t; }
67 67
68 // Can be linked into other targets. 68 // Can be linked into other targets.
69 bool IsLinkable() const; 69 bool IsLinkable() const;
70 70
71 // Can have dependencies linked in. 71 // Can have dependencies linked in.
72 bool IsFinal() const; 72 bool IsFinal() const;
73 73
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 }; 325 };
326 #elif defined(COMPILER_MSVC) 326 #elif defined(COMPILER_MSVC)
327 inline size_t hash_value(const Target* t) { 327 inline size_t hash_value(const Target* t) {
328 return reinterpret_cast<size_t>(t); 328 return reinterpret_cast<size_t>(t);
329 } 329 }
330 #endif // COMPILER... 330 #endif // COMPILER...
331 331
332 } // namespace BASE_HASH_NAMESPACE 332 } // namespace BASE_HASH_NAMESPACE
333 333
334 #endif // TOOLS_GN_TARGET_H_ 334 #endif // TOOLS_GN_TARGET_H_
OLDNEW
« no previous file with comments | « tools/gn/setup.h ('k') | tools/gn/toolchain.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698