Documentation fixes
Change-Id: I8359c402819ed475663385b3bd850f0ae209cdf4
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/18421
Reviewed-by: David Neto <dneto@google.com>
diff --git a/src/ast/literal.h b/src/ast/literal.h
index 783a0f7..7ae091c 100644
--- a/src/ast/literal.h
+++ b/src/ast/literal.h
@@ -61,6 +61,7 @@
protected:
/// Constructor
+ /// @param type the type of the literal
explicit Literal(ast::type::Type* type);
private:
diff --git a/src/context.h b/src/context.h
index f0495f2..f1117f5 100644
--- a/src/context.h
+++ b/src/context.h
@@ -30,6 +30,7 @@
/// Resets the state of this context.
void Reset();
+ /// @returns the Type Manager
TypeManager& type_mgr() { return type_mgr_; }
private:
diff --git a/src/writer/spirv/operand.h b/src/writer/spirv/operand.h
index de66a22..844044d 100644
--- a/src/writer/spirv/operand.h
+++ b/src/writer/spirv/operand.h
@@ -50,7 +50,9 @@
~Operand();
/// Copy assignment
- Operand& operator=(const Operand&) = default;
+ /// @param b the operand to copy
+ /// @returns a copy of this operand
+ Operand& operator=(const Operand& b) = default;
/// Sets the float value
/// @param val the value to set