[clang] [HLSL] Rework implicit conversion sequences (PR #96011)

Justin Bogner via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 8 11:01:42 PDT 2024


================
@@ -4361,6 +4361,21 @@ Sema::PerformImplicitConversion(Expr *From, QualType ToType,
   return From;
 }
 
+// GetIntermediateVectorType - Compute the intermediate cast type casting
+// elements of the from type to the elements of the to type without resizing the
+// vector.
+static QualType adjustVectorType(ASTContext &Context, QualType FromTy,
----------------
bogner wrote:

Looks like you renamed this function after writing the doc comment.

In any case, we generally don't repeat the function name in the doc comment any more, and these should be `///` comments for them to show up on the doxygen page

https://github.com/llvm/llvm-project/pull/96011


More information about the cfe-commits mailing list