Skip to content

Commit 53d74ab

Browse files
committed
Update docs based on the implementation that I posted rather than an
earlier iteration.
1 parent bd74d7d commit 53d74ab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/docs/HLSL/FunctionCalls.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,9 @@ Array Temporaries
167167
-----------------
168168

169169
The new ``ArrayParameterType`` is a non-array type which represents an array
170-
value. It is only applied to constant-sized array ``ParmVarDecl`` nodes. Much
171-
like a ``DecayedType`` it stores both the original ``ConstantArrayType`` and a
172-
decayed ``PointerType``, which is used during code generation.
170+
value. It is a sub-class of ``ConstantArrayType`` inheriting all the behaviors
171+
and methods of the parent except that it does not decay to a pointer during
172+
overload resolution or template type deduction.
173173

174174
An argument of ``ConstantArrayType`` can be implicitly converted to an
175175
equivalent non-decayed ``ArrayParameterType`` if the underlying canonical

0 commit comments

Comments
 (0)