We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 155e511 commit dc379c7Copy full SHA for dc379c7
clang/lib/CodeGen/CGCall.cpp
@@ -2853,8 +2853,8 @@ void CodeGenModule::ConstructAttributeList(StringRef Name,
2853
Attrs.addAttribute(llvm::Attribute::InReg);
2854
2855
// 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.
+ // DeadOnReturn attributes because stores to these parameters by the
+ // callee are visible to the caller.
2858
if (auto ParamABI = FI.getExtParameterInfo(ArgNo).getABI();
2859
ParamABI != ParameterABI::HLSLOut &&
2860
ParamABI != ParameterABI::HLSLInOut) {
0 commit comments