diff --git a/src/tint/sem/function.h b/src/tint/sem/function.h index 973aa43fff..8f21f7444a 100644 --- a/src/tint/sem/function.h +++ b/src/tint/sem/function.h @@ -141,7 +141,7 @@ class Function final : public Castable { /// @returns the list of direct calls to functions / builtins made by this /// function - std::vector DirectCallStatements() const { return direct_calls_; } + std::vector DirectCalls() const { return direct_calls_; } /// Adds a record of the direct function / builtin calls made by this /// function @@ -160,7 +160,7 @@ class Function final : public Castable { return nullptr; } - /// @returns the list of callsites of this function + /// @returns the list of callsites to this function std::vector CallSites() const { return callsites_; } /// Adds a record of a callsite to this function diff --git a/src/tint/sem/variable.h b/src/tint/sem/variable.h index 08ffe99114..08dfa98928 100644 --- a/src/tint/sem/variable.h +++ b/src/tint/sem/variable.h @@ -231,7 +231,7 @@ class Parameter final : public Castable { return static_cast(Variable::Declaration()); } - /// @return the index of the parmeter in the function + /// @return the index of the parameter in the function uint32_t Index() const { return index_; } /// @returns the semantic usage for the parameter