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

Side by Side Diff: tools/gn/toolchain.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/target.h ('k') | tools/ipc_fuzzer/mutate/generate.cc » ('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_TOOLCHAIN_H_ 5 #ifndef TOOLS_GN_TOOLCHAIN_H_
6 #define TOOLS_GN_TOOLCHAIN_H_ 6 #define TOOLS_GN_TOOLCHAIN_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 static const char* kToolAlink; 57 static const char* kToolAlink;
58 static const char* kToolSolink; 58 static const char* kToolSolink;
59 static const char* kToolLink; 59 static const char* kToolLink;
60 static const char* kToolStamp; 60 static const char* kToolStamp;
61 static const char* kToolCopy; 61 static const char* kToolCopy;
62 62
63 Toolchain(const Settings* settings, const Label& label); 63 Toolchain(const Settings* settings, const Label& label);
64 virtual ~Toolchain(); 64 virtual ~Toolchain();
65 65
66 // Item overrides. 66 // Item overrides.
67 virtual Toolchain* AsToolchain() OVERRIDE; 67 virtual Toolchain* AsToolchain() override;
68 virtual const Toolchain* AsToolchain() const OVERRIDE; 68 virtual const Toolchain* AsToolchain() const override;
69 69
70 // Returns TYPE_NONE on failure. 70 // Returns TYPE_NONE on failure.
71 static ToolType ToolNameToType(const base::StringPiece& str); 71 static ToolType ToolNameToType(const base::StringPiece& str);
72 static std::string ToolTypeToName(ToolType type); 72 static std::string ToolTypeToName(ToolType type);
73 73
74 // Returns null if the tool hasn't been defined. 74 // Returns null if the tool hasn't been defined.
75 const Tool* GetTool(ToolType type) const; 75 const Tool* GetTool(ToolType type) const;
76 76
77 // Set a tool. When all tools are configured, you should call 77 // Set a tool. When all tools are configured, you should call
78 // ToolchainSetupComplete(). 78 // ToolchainSetupComplete().
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 bool setup_complete_; 121 bool setup_complete_;
122 122
123 // Substitutions used by the tools in this toolchain. 123 // Substitutions used by the tools in this toolchain.
124 SubstitutionBits substitution_bits_; 124 SubstitutionBits substitution_bits_;
125 125
126 LabelTargetVector deps_; 126 LabelTargetVector deps_;
127 Scope::KeyValueMap args_; 127 Scope::KeyValueMap args_;
128 }; 128 };
129 129
130 #endif // TOOLS_GN_TOOLCHAIN_H_ 130 #endif // TOOLS_GN_TOOLCHAIN_H_
OLDNEW
« no previous file with comments | « tools/gn/target.h ('k') | tools/ipc_fuzzer/mutate/generate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698