Skip to content

Commit cf96a53

Browse files
committed
[Review] Format comment
1 parent c598f1b commit cf96a53

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

clang/lib/Sema/SemaExpr.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6736,12 +6736,12 @@ ExprResult Sema::BuildCallExpr(Scope *Scope, Expr *Fn, SourceLocation LParenLoc,
67366736

67376737
checkDirectCallValidity(*this, Fn, FD, ArgExprs);
67386738

6739-
// If this expression is a call to a builtin function in HIP
6740-
// compilation, allow a pointer-type argument to default address space to be
6741-
// passed as a pointer-type parameter to a non-default address space.
6742-
// If Arg is declared in the default address space and Param is declared
6743-
// in a non-default address space, perform an implicit address space cast to
6744-
// the parameter type.
6739+
// If this expression is a call to a builtin function in HIP compilation,
6740+
// allow a pointer-type argument to default address space to be passed as a
6741+
// pointer-type parameter to a non-default address space. If Arg is declared
6742+
// in the default address space and Param is declared in a non-default
6743+
// address space, perform an implicit address space cast to the parameter
6744+
// type.
67456745
if (getLangOpts().HIP && FD && FD->getBuiltinID()) {
67466746
for (unsigned Idx = 0; Idx < ArgExprs.size() && Idx < FD->param_size();
67476747
++Idx) {

0 commit comments

Comments
 (0)