lowerCamelCase => snake_case (#396)

This commit is contained in:
Dave Abrahams authored and GitHub committed 2021-03-17 13:09:58 -07:00
1 parent 71a8d072b4
commit 7e1721dc01
10 files changed
+105 -103

No files matched your search

+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;