clang-tidy pass on executable_semantics (#963)

This commit is contained in:
Jon Meow
2021-12-02 12:21:18 -08:00
committed by GitHub
parent d09822905e
commit 92903afbd5
12 changed files with 28 additions and 30 deletions
+2 -2
View File
@@ -117,7 +117,7 @@ class IntValue : public Value {
// A function value.
class FunctionValue : public Value {
public:
FunctionValue(Nonnull<const FunctionDeclaration*> declaration)
explicit FunctionValue(Nonnull<const FunctionDeclaration*> declaration)
: Value(Kind::FunctionValue), declaration_(declaration) {}
static auto classof(const Value* value) -> bool {
@@ -495,7 +495,7 @@ class ContinuationValue : public Value {
~StackFragment();
StackFragment(StackFragment&&) = delete;
StackFragment& operator=(StackFragment&&) = delete;
auto operator=(StackFragment&&) -> StackFragment& = delete;
// Store the given partial todo stack in *this, which must currently be
// empty. The stack is represented with the top of the stack at the