lowerCamelCase => snake_case (#396)

This commit is contained in:
Dave Abrahams
2021-03-17 13:09:58 -07:00
committed by GitHub
parent 71a8d072b4
commit 7e1721dc01
10 changed files with 105 additions and 103 deletions
+3 -3
View File
@@ -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;