mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 12:51:04 +01:00
lowerCamelCase => snake_case (#396)
This commit is contained in:
@@ -141,9 +141,9 @@ struct ChoiceDeclaration {
|
||||
// Global variable definition implements the Declaration concept.
|
||||
class VariableDeclaration {
|
||||
public:
|
||||
VariableDeclaration(int sourceLocation, std::string name, Expression* type,
|
||||
VariableDeclaration(int source_location, std::string name, Expression* type,
|
||||
Expression* initializer)
|
||||
: sourceLocation(sourceLocation),
|
||||
: source_location(source_location),
|
||||
name(name),
|
||||
type(type),
|
||||
initializer(initializer) {}
|
||||
@@ -155,7 +155,7 @@ class VariableDeclaration {
|
||||
auto TopLevel(ExecutionEnvironment&) const -> void;
|
||||
|
||||
private:
|
||||
int sourceLocation;
|
||||
int source_location;
|
||||
std::string name;
|
||||
Expression* type;
|
||||
Expression* initializer;
|
||||
|
||||
Reference in New Issue
Block a user