Skip to content

Commit dc379c7

Browse files
committed
Small addendum to the comment
1 parent 155e511 commit dc379c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/CodeGen/CGCall.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2853,8 +2853,8 @@ void CodeGenModule::ConstructAttributeList(StringRef Name,
28532853
Attrs.addAttribute(llvm::Attribute::InReg);
28542854

28552855
// HLSL out and inout parameters must not be marked with ByVal or
2856-
// DeadOnReturn attributes because stores to these parameters are visible
2857-
// to the caller.
2856+
// DeadOnReturn attributes because stores to these parameters by the
2857+
// callee are visible to the caller.
28582858
if (auto ParamABI = FI.getExtParameterInfo(ArgNo).getABI();
28592859
ParamABI != ParameterABI::HLSLOut &&
28602860
ParamABI != ParameterABI::HLSLInOut) {

0 commit comments

Comments
 (0)